@@ -6,6 +6,10 @@ else | |||||
PYTHON=python | PYTHON=python | ||||
fi | fi | ||||
if [ $1 = "--gdb" ]; then | |||||
PYTHON="gdb --args $PYTHON" | |||||
fi | |||||
INSTALL_PREFIX="X-PREFIX-X" | INSTALL_PREFIX="X-PREFIX-X" | ||||
export PATH="$INSTALL_PREFIX"/lib/carla:$PATH | export PATH="$INSTALL_PREFIX"/lib/carla:$PATH | ||||
exec $PYTHON "$INSTALL_PREFIX"/share/carla/carla --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@" | exec $PYTHON "$INSTALL_PREFIX"/share/carla/carla --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@" |
@@ -6,6 +6,10 @@ else | |||||
PYTHON=python | PYTHON=python | ||||
fi | fi | ||||
if [ $1 = "--gdb" ]; then | |||||
PYTHON="gdb --args $PYTHON" | |||||
fi | |||||
INSTALL_PREFIX="X-PREFIX-X" | INSTALL_PREFIX="X-PREFIX-X" | ||||
export PATH="$INSTALL_PREFIX"/lib/carla:$PATH | export PATH="$INSTALL_PREFIX"/lib/carla:$PATH | ||||
exec $PYTHON "$INSTALL_PREFIX"/share/carla/carla-patchbay --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@" | exec $PYTHON "$INSTALL_PREFIX"/share/carla/carla-patchbay --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@" |
@@ -6,6 +6,10 @@ else | |||||
PYTHON=python | PYTHON=python | ||||
fi | fi | ||||
if [ $1 = "--gdb" ]; then | |||||
PYTHON="gdb --args $PYTHON" | |||||
fi | |||||
INSTALL_PREFIX="X-PREFIX-X" | INSTALL_PREFIX="X-PREFIX-X" | ||||
export PATH="$INSTALL_PREFIX"/lib/carla:$PATH | export PATH="$INSTALL_PREFIX"/lib/carla:$PATH | ||||
exec $PYTHON "$INSTALL_PREFIX"/share/carla/carla-rack --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@" | exec $PYTHON "$INSTALL_PREFIX"/share/carla/carla-rack --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@" |
@@ -84,6 +84,8 @@ if __name__ == '__main__': | |||||
if arg.startswith("--with-appname=") or arg.startswith("--with-libprefix="): | if arg.startswith("--with-appname=") or arg.startswith("--with-libprefix="): | ||||
pass | pass | ||||
elif arg == "--gdb": | |||||
pass | |||||
elif os.path.exists(arg): | elif os.path.exists(arg): | ||||
gui.loadProjectLater(arg) | gui.loadProjectLater(arg) | ||||
@@ -71,6 +71,8 @@ if __name__ == '__main__': | |||||
if arg.startswith("--with-appname=") or arg.startswith("--with-libprefix="): | if arg.startswith("--with-appname=") or arg.startswith("--with-libprefix="): | ||||
pass | pass | ||||
elif arg == "--gdb": | |||||
pass | |||||
elif os.path.exists(arg): | elif os.path.exists(arg): | ||||
gui.loadProjectLater(arg) | gui.loadProjectLater(arg) | ||||
@@ -71,6 +71,8 @@ if __name__ == '__main__': | |||||
if arg.startswith("--with-appname=") or arg.startswith("--with-libprefix="): | if arg.startswith("--with-appname=") or arg.startswith("--with-libprefix="): | ||||
pass | pass | ||||
elif arg == "--gdb": | |||||
pass | |||||
elif os.path.exists(arg): | elif os.path.exists(arg): | ||||
gui.loadProjectLater(arg) | gui.loadProjectLater(arg) | ||||