Skip to content

Commit

Permalink
Fix dotr script
Browse files Browse the repository at this point in the history
Use '-gt- to compare integer instead of '>'
  • Loading branch information
allanrenucci committed Apr 24, 2018
1 parent ea9d018 commit fb1d8fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/bin/dotr
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ elif [ $execute_repl == true ] || [ ${#residual_args[@]} -ne 0 ]; then
else
cp_arg+="$PSEP$CLASS_PATH"
fi
if [ $class_path_count > 1 ]; then
if [ "$class_path_count" -gt 1 ]; then
echo "warning: multiple classpaths are found, dotr only use the last one."
fi
if [ $with_compiler == true ]; then
Expand Down

0 comments on commit fb1d8fd

Please sign in to comment.