[MLton-commit] r4009 - mlton/trunk/bin
Stephen Weeks
MLton@mlton.org
Fri, 19 Aug 2005 19:43:48 -0700
Author: sweeks
Date: 2005-08-19 19:43:45 -0700 (Fri, 19 Aug 2005)
New Revision: 4009
Modified:
mlton/trunk/bin/mlton-script
Log:
Make sure $lib is an absolute path, even in build/bin/mlton.
Modified: mlton/trunk/bin/mlton-script
===================================================================
--- mlton/trunk/bin/mlton-script 2005-08-20 02:21:01 UTC (rev 4008)
+++ mlton/trunk/bin/mlton-script 2005-08-20 02:43:45 UTC (rev 4009)
@@ -4,7 +4,8 @@
set -e
-lib='lib unset'
+dir=`dirname $0`
+lib=`cd $dir/../lib && pwd`
gcc='gcc'
mlton="$lib/mlton-compile"
world="$lib/world.mlton"