Skip to content
Permalink
Browse files

* Bad argument parsing in run_follow_agent.sh

  • Loading branch information...
jredmondson committed Mar 13, 2019
1 parent be16760 commit 2058a6edeec82b27b193e4ba672489a4c4e634de
Showing with 3 additions and 3 deletions.
  1. +3 −3 scripts/simulation/unreal/follow/run_follow_agent.sh
@@ -7,7 +7,7 @@ NT=0
ID=1
SCRIPTS_DIR=`dirname $0`
SCRIPT="$SCRIPTS_DIR/follow_agent.mf"
LOG_LEVEL=4
LOG_LEVEL=1

if [ $# -ge 1 ]; then
if [ "$1" == "help" ] || [ "$1" == "-h" ]; then
@@ -22,11 +22,11 @@ if [ $# -ge 1 ]; then
fi

if [ $# -ge 3 ]; then
TYPE=1
TYPE=$3
fi

if [ $# -ge 4 ]; then
N=1
N=$4
fi

if [ $# -ge 5 ]; then

0 comments on commit 2058a6e

Please sign in to comment.
You can’t perform that action at this time.