Skip to content

Commit

Permalink
Merge pull request pal-robotics#10 from AntoBrandi/fix-param-nr
Browse files Browse the repository at this point in the history
Fixed number for the parameter multiple
  • Loading branch information
saikishor authored Mar 4, 2022
2 parents 21a91c9 + a0ca42d commit 4327ad6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/navigation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ fi
# rm -rf $MAP
#fi

if [ $# -lt 7 ]; then
if [ $# -lt 10 ]; then
MULTI="false"
ROBOT_NAMESPACE=""
else
if [ "$7" = "true" ]; then
if [ $# -lt 8 ]; then
if [ "$10" = "true" ]; then
if [ $# -lt 11 ]; then
echo "If MULTI is true I need the robot_namespace"
exit 1
else
MULTI="true"
ROBOT_NAMESPACE=$8
ROBOT_NAMESPACE=$11
fi
else
MULTI="false"
Expand Down

0 comments on commit 4327ad6

Please sign in to comment.