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:
parent
cd0c784a71
commit
c0b5f3f017
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue