[MLton-commit] r7226

Wesley Terpstra wesley at mlton.org
Tue Sep 15 05:30:27 PDT 2009


Escape the $ from the Makefile


----------------------------------------------------------------------

U   mlton/trunk/package/mingw/Makefile

----------------------------------------------------------------------

Modified: mlton/trunk/package/mingw/Makefile
===================================================================
--- mlton/trunk/package/mingw/Makefile	2009-09-15 12:20:37 UTC (rev 7225)
+++ mlton/trunk/package/mingw/Makefile	2009-09-15 12:30:23 UTC (rev 7226)
@@ -37,7 +37,7 @@
 	echo "x86_64-w64-mingw32 amd64 mingw" >> staging/lib/mlton/target-map
 	rm staging/lib/mlton/x86_64-w64-mingw32/*-gdb.a
 	rm -rf ../../runtime.x64
-	sed "s@'/lib/mlton'@\`cd \"\$dir/lib/mlton\" \&\& pwd\`@" < staging/bin/mlton > staging/mlton
+	sed "s@'/lib/mlton'@\`cd \"\$$dir/lib/mlton\" \&\& pwd\`@" < staging/bin/mlton > staging/mlton
 	./staging/mlton -target x86_64-w64-mingw32 -build-constants true > staging/w64-constants.c
 	./staging/mlton -target x86_64-w64-mingw32 -verbose 1 staging/w64-constants.c
 	./staging/w64-constants > staging/lib/mlton/x86_64-w64-mingw32/constants




More information about the MLton-commit mailing list