aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhypsrc-test/run.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/hypsrc-test/run.hs b/hypsrc-test/run.hs
index 10b6c257..853c4f09 100755
--- a/hypsrc-test/run.hs
+++ b/hypsrc-test/run.hs
@@ -83,8 +83,8 @@ diff mdl ref out = do
result <- system $ cmd ++ " " ++ refFile ++ " " ++ outFile
unless (result == ExitSuccess) $ die "Failed to run `diff` command."
where
- refFile = outDir </> takeFileName mdl </> ".ref.nolinks"
- outFile = outDir </> takeFileName mdl </> ".nolinks"
+ refFile = outDir </> takeBaseName mdl ++ ".ref.nolinks"
+ outFile = outDir </> takeBaseName mdl ++ ".nolinks"