Fixing installation process
[bpt/mlt.git] / build
diff --git a/build b/build
index 49811e7..803d915 100755 (executable)
--- a/build
+++ b/build
@@ -1,11 +1,14 @@
 #!/bin/sh
 
-SMLBIN=/usr/local/sml/bin
+source settings
+
+echo $SMLBIN/sml @SMLload=$BIN/mlt.$PLATFORM >src/mlt
+chmod +x src/mlt
 
 cd src
 
-if [ -f mlt.x86-linux ] ; then
-    rm mlt.x86-linux
+if [ -f mlt.$PLATFORM ] ; then
+    rm mlt.$PLATFORM
 fi
 if [ -d CM ] ; then
     rm -rf CM
@@ -32,4 +35,5 @@ cd lib
 
 if ! cat build.sml | $SMLBIN/sml ; then
     exit 1
-fi
\ No newline at end of file
+fi
+