You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while true; do
case "$1" in
-i|--interactive)
interactive=1
shift
;;
-p|--skip-prerequisites)
skip_prerequisites=1
shift
;;
-l|--launch)
launch=1
shift
;;
-pyroot|--python-root)
python_root=$2
shift 2
;;
--)
shift
break
;;
*)
;;
esac
done
Here current logic excepts passed arguments as first argument i.e. $1, which seems causing issue. As at a time we can pass it as interactive then we can not do for launch. A better design would be to not have all static order rather look for what options are passed and do corresponding swith operations recursively. Or pre-define seperate argument positions for launch and interactive per say.
The text was updated successfully, but these errors were encountered:
Currently the options in CarlaSetup.sh is like:
Here current logic excepts passed arguments as first argument i.e. $1, which seems causing issue. As at a time we can pass it as interactive then we can not do for launch. A better design would be to not have all static order rather look for what options are passed and do corresponding swith operations recursively. Or pre-define seperate argument positions for launch and interactive per say.
The text was updated successfully, but these errors were encountered: