Skip to content

Commit 28fa49e

Browse files
committed
Set the N2T_VM_USE_BUILTINS variable when appropriate
1 parent 374623f commit 28fa49e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

n2t-software-suite/VMEmulator.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ if "%~1"=="" (
2222
start javaw -jar bin/VMEmulator.jar
2323
) else (
2424
rem echo Running "%_arg1%"
25+
if "%N2T_VM_USE_BUILTINS%"=="" set N2T_VM_USE_BUILTINS=yes
2526
java -jar bin/VMEmulator.jar "%_arg1%"
2627
)
2728
popd

n2t-software-suite/VMEmulator.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ else
2929
arg1="${dir}/$1"
3030
fi
3131
# echo Running "$arg1"
32-
java -jar bin/VMEmulator.jar "$arg1"
32+
[ -z "$N2T_VM_USE_BUILTINS" ] && export N2T_VM_USE_BUILTINS="yes"
33+
java -jar bin/VMEmulator.jar "$arg1"
3334
fi

0 commit comments

Comments
 (0)