summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-24 22:57:21 +0800
committerruki <[email protected]>2022-10-24 22:57:21 +0800
commit7cf5b563927bc79748969d26e84d16884bbe4d73 (patch)
treeafa2eef440fb4244c00bd6e9a95c0fce4034208b /scripts
parentd8be2a1ca7bbc360a808eb921607fad74095f3cf (diff)
support openbsd
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/srcenv.profile2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/srcenv.profile b/scripts/srcenv.profile
index ead66b4f8..c673b2636 100755
--- a/scripts/srcenv.profile
+++ b/scripts/srcenv.profile
@@ -2,8 +2,10 @@
export XMAKE_PROGRAM_DIR=`pwd`/xmake
if [ -f `pwd`/core/build/xmake ]; then
alias xmake=`pwd`/core/build/xmake
+ export XMAKE_PROGRAM_FILE=`pwd`/core/build/xmake
else
alias xmake=`pwd`/core/src/demo/demo.b
+ export XMAKE_PROGRAM_FILE=`pwd`/core/src/demo/demo.b
fi
alias xrepo=`pwd`/scripts/xrepo.sh
xmake --version