Skip to content

Commit 7f5c5e9

Browse files
committed
Fix dotr script
Use '-gt- to compare integer instead of '>'
1 parent 27f6673 commit 7f5c5e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/bin/dotr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ elif [ $execute_repl == true ] || [ ${#residual_args[@]} -ne 0 ]; then
8888
else
8989
cp_arg+="$PSEP$CLASS_PATH"
9090
fi
91-
if [ $class_path_count > 1 ]; then
91+
if [ "$class_path_count" -gt 1 ]; then
9292
echo "warning: multiple classpaths are found, dotr only use the last one."
9393
fi
9494
if [ $with_compiler == true ]; then

0 commit comments

Comments
 (0)