Remove unecessary line from launcher script to avoid sudo

The launcher script CarlaUE4.sh shouldn't require sudo. In fact the line that
requires sudo is not necessary at all since the executable flag is already
set.
This commit is contained in:
Johannes Schmitz 2020-06-11 19:10:13 +02:00 committed by bernat
parent cd0c784a71
commit c0b5f3f017
1 changed files with 0 additions and 1 deletions

View File

@ -71,7 +71,6 @@ rm CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping.sym
rm CarlaUE4.sh
cat >> CarlaUE4.sh <<EOF
#!/bin/sh
sudo chmod +x "/opt/carla-simulator/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping"
"/opt/carla-simulator/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping" CarlaUE4 \$@
EOF