From ab8803c9f598a46d2b8fde167f613020b6bba9b1 Mon Sep 17 00:00:00 2001 From: Samson Date: Mon, 14 Jan 2019 19:11:50 -0500 Subject: [PATCH] All scripts use Bash Syntax errors occur with /bin/sh interpreters, hence /bin/bash is used instead to correct for this --- data/build-haiku.sh | 2 +- data/carla | 5 ++--- data/carla-control | 2 +- data/carla-database | 2 +- data/carla-jack-multi | 2 +- data/carla-jack-single | 2 +- data/carla-libdir | 2 +- data/carla-patchbay | 2 +- data/carla-rack | 2 +- data/carla-settings | 2 +- 10 files changed, 11 insertions(+), 12 deletions(-) diff --git a/data/build-haiku.sh b/data/build-haiku.sh index 870da5d5b..8fb01d459 100644 --- a/data/build-haiku.sh +++ b/data/build-haiku.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash export HAIKU=true export CC=gcc-x86 diff --git a/data/carla b/data/carla index ddc59e972..c20d4e41b 100755 --- a/data/carla +++ b/data/carla @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash PYTHON=$(which python3 2>/dev/null) @@ -11,6 +11,5 @@ if [ "$1" = "--gdb" ]; then fi INSTALL_PREFIX="X-PREFIX-X" -PATH="$INSTALL_PREFIX"/lib/carla:$PATH -export PATH +export PATH="$INSTALL_PREFIX"/lib/carla:$PATH exec $PYTHON "$INSTALL_PREFIX"/share/carla/carla --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@" diff --git a/data/carla-control b/data/carla-control index 3338fee16..c9dd5f73b 100755 --- a/data/carla-control +++ b/data/carla-control @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash PYTHON=$(which python3 2>/dev/null) diff --git a/data/carla-database b/data/carla-database index 0aebdd130..debb1893e 100755 --- a/data/carla-database +++ b/data/carla-database @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash PYTHON=$(which python3 2>/dev/null) diff --git a/data/carla-jack-multi b/data/carla-jack-multi index 5caef0cce..b1b0e61c2 100755 --- a/data/carla-jack-multi +++ b/data/carla-jack-multi @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash PYTHON=$(which python3 2>/dev/null) diff --git a/data/carla-jack-single b/data/carla-jack-single index 64ffacb97..3de70aa9f 100755 --- a/data/carla-jack-single +++ b/data/carla-jack-single @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash PYTHON=$(which python3 2>/dev/null) diff --git a/data/carla-libdir b/data/carla-libdir index 192f90813..48341008b 100755 --- a/data/carla-libdir +++ b/data/carla-libdir @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # small script that only prints carla's libdir. # can be used to detect if carla is installed, and where to find its libcarla_standalone2.so file diff --git a/data/carla-patchbay b/data/carla-patchbay index 83bafb08f..76aba4d42 100755 --- a/data/carla-patchbay +++ b/data/carla-patchbay @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash PYTHON=$(which python3 2>/dev/null) diff --git a/data/carla-rack b/data/carla-rack index 7462511e5..3fae861f0 100755 --- a/data/carla-rack +++ b/data/carla-rack @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash PYTHON=$(which python3 2>/dev/null) diff --git a/data/carla-settings b/data/carla-settings index da6c8b817..a53bb77b3 100755 --- a/data/carla-settings +++ b/data/carla-settings @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash PYTHON=$(which python3 2>/dev/null)