summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpportunity <[email protected]>2020-01-19 19:20:39 +0800
committerOpportunity <[email protected]>2020-01-19 19:20:39 +0800
commiteb0f4ac9efcdfca4445b7e29f60d978e08e2e532 (patch)
tree870ccb9f7110a0044496c1c3d271ea899b436b64
parent79f4f51907780785c673bbf8a24f5fd84584d289 (diff)
fix script
-rwxr-xr-xscripts/get.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index a0d49c528..fa74379d9 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -143,9 +143,9 @@ if [ 'x__install_only__' != "x$2" ]; then
fi
# make bytecodes
-export XMAKE_PROGRAM_DIR=$projectdir/xmake
+XMAKE_PROGRAM_DIR="$projectdir/xmake" \
+XMAKE_ROOT=y \
$projectdir/core/src/demo/demo.b l -v private.utils.bcsave --rootname='@programdir' -x 'scripts/**|templates/**' $projectdir/xmake || my_exit 'generate bytecode failed!'
-export XMAKE_PROGRAM_DIR=
# do install
if [ "$prefix" = "" ]; then