diff --git a/utils/local_install.sh b/utils/local_install.sh index bd31637..450f2f5 100755 --- a/utils/local_install.sh +++ b/utils/local_install.sh @@ -1,9 +1,10 @@ #!/bin/sh echo "cleaning" -cmake --build ./build --config Release --target clean -j 4 -- +cmake -DCMAKE_BUILD_TYPE=Release . +cmake --build ./ --target clean -j 4 -- echo "building ml" -cmake --build ./build --config Release --target all -j 4 -- +cmake --build ./ --target all -j 4 -- echo "" echo "copying lsp files" @@ -12,7 +13,7 @@ cp stdlib/*.lsp /usr/local/var/mlisp/ echo "copying doc files" cp doc/*.md /usr/local/var/mlisp/ echo "copying ml file" -cp ./build/ml /usr/local/bin/ml +mv ./ml /usr/local/bin/ml echo "" echo "if syntax has changed you may use"