WIP: Windows install/starup tweaks

This commit is contained in:
2020-01-19 23:44:46 +09:00
parent 9f1763ec1c
commit 4e3c5d7202
7 changed files with 69 additions and 30 deletions
+6 -2
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
if [ -f "$HOME/.bash_profile" ]
then
@@ -11,6 +11,10 @@ export ZX_DIR="$ZOMP_DIR/lib/otpr/zx/$ZX_VERSION"
start_dir="$PWD"
cd "$ZX_DIR"
./make_zx
if [ ! -f ebin/zx.erl ]
then
chmod +x make_zx
./make_zx
fi
cd "$start_dir"
erl -pa "$ZX_DIR/ebin" -run zx do -extra $@