aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-02-25 14:52:58 -0800
committerOndřej Čertík <ondrej@certik.us>2020-02-28 08:17:08 -0800
commit581f3990f9d722135c4ef738b86782c8e7edaeda (patch)
treee080ab7987f263232082bcdedbe8acbbd02af140 /src
parent6a79e31d9b6eaffdca9ce0a5fe9471d60c20530f (diff)
downloadfpm-581f3990f9d722135c4ef738b86782c8e7edaeda.tar.gz
fpm-581f3990f9d722135c4ef738b86782c8e7edaeda.zip
Use </>
Diffstat (limited to 'src')
-rw-r--r--src/Lib.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Lib.hs b/src/Lib.hs
index 0717bf8..cab1ccc 100644
--- a/src/Lib.hs
+++ b/src/Lib.hs
@@ -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 ()