diff options
author | Ondřej Čertík <ondrej@certik.us> | 2020-02-25 14:52:58 -0800 |
---|---|---|
committer | Ondřej Čertík <ondrej@certik.us> | 2020-02-28 08:17:08 -0800 |
commit | 581f3990f9d722135c4ef738b86782c8e7edaeda (patch) | |
tree | e080ab7987f263232082bcdedbe8acbbd02af140 | |
parent | 6a79e31d9b6eaffdca9ce0a5fe9471d60c20530f (diff) | |
download | fpm-581f3990f9d722135c4ef738b86782c8e7edaeda.tar.gz fpm-581f3990f9d722135c4ef738b86782c8e7edaeda.zip |
Use </>
-rw-r--r-- | src/Lib.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ module Lib ( someFunc ) where --- import Development.Shake (cmd) +import Development.Shake.FilePath ((</>)) import System.Process (callCommand) @@ -10,5 +10,5 @@ someFunc :: IO () someFunc = do putStrLn "someFunc" a <- callCommand "gfortran test/test1.f90 -o test1" - a <- callCommand "./test1" + a <- callCommand $ "." </> "test1" return () |