Skip to content

Commit b47981d

Browse files
committed
Minor fix in GraalVM launchers
1 parent 7b0ef80 commit b47981d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

com.oracle.truffle.r.release/src/R_legacy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ for o in "$@"; do
8282
done
8383
fi
8484
elif [[ "$o" == --vm.* ]]; then
85-
vm_arg=("${o#--vm.}")
85+
vm_arg="${o#--vm.}"
8686
if [[ "$vm_arg" == "cp" ]]; then
8787
>&2 echo "'--vm.cp' argument must be of the form '--vm.cp=<classpath>', not two separate arguments"
8888
exit 1

com.oracle.truffle.r.release/src/Rscript_legacy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ for o in "$@"; do
8282
done
8383
fi
8484
elif [[ "$o" == --vm.* ]]; then
85-
vm_arg=("${o#--vm.}")
85+
vm_arg="${o#--vm.}"
8686
if [[ "$vm_arg" == "cp" ]]; then
8787
>&2 echo "'--vm.cp' argument must be of the form '--vm.cp=<classpath>', not two separate arguments"
8888
exit 1

0 commit comments

Comments
 (0)