Skip to content

Commit f4d589b

Browse files
committed
fix path quoting for bash
1 parent f73867d commit f4d589b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

external-stg/lib/Stg/Foreign/Linker.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ linkForeignCbitsSharedLib ghcstgappFname = do
7373

7474
let scriptFname = workDir </> "cbits.so.sh"
7575
writeFile scriptFname linkScript
76-
callCommand $ printf "(cd %s; bash cbits.so.sh)" workDir
76+
callCommand $ printf "(cd %s; bash cbits.so.sh)" (show workDir)

0 commit comments

Comments
 (0)