From c9c9c93850122b36151c8eb734237defc041f591 Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Sun, 8 Dec 2013 17:10:42 -0800 Subject: [PATCH] Convert all shebangs to use Bash --- libretro-build-android-mk.sh | 2 +- libretro-build-common-gx.sh | 2 +- libretro-build-common-xdk.sh | 2 +- libretro-build-common.sh | 2 +- libretro-build-ios.sh | 2 +- libretro-build-ngc.sh | 2 +- libretro-build-ps3.sh | 2 +- libretro-build-qnx.sh | 2 +- libretro-build-wii.sh | 2 +- libretro-build-xdk1.sh | 2 +- libretro-build-xdk360.sh | 2 +- libretro-build.sh | 2 +- libretro-config.sh | 2 +- libretro-fetch.sh | 2 +- libretro-install.sh | 2 +- retroarch-build.sh | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/libretro-build-android-mk.sh b/libretro-build-android-mk.sh index df5100b2..7f55ba9d 100755 --- a/libretro-build-android-mk.sh +++ b/libretro-build-android-mk.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # BSDs don't have readlink -f read_link() diff --git a/libretro-build-common-gx.sh b/libretro-build-common-gx.sh index ebab6c32..8eac4603 100644 --- a/libretro-build-common-gx.sh +++ b/libretro-build-common-gx.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash build_libretro_fba() { diff --git a/libretro-build-common-xdk.sh b/libretro-build-common-xdk.sh index eb941b0f..9e238bce 100644 --- a/libretro-build-common-xdk.sh +++ b/libretro-build-common-xdk.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash die() { diff --git a/libretro-build-common.sh b/libretro-build-common.sh index b9fa9d39..6f400b9c 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash die() { echo $1 diff --git a/libretro-build-ios.sh b/libretro-build-ios.sh index 84dbcd48..6804db70 100755 --- a/libretro-build-ios.sh +++ b/libretro-build-ios.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e diff --git a/libretro-build-ngc.sh b/libretro-build-ngc.sh index 0f57b73e..4ff4f854 100755 --- a/libretro-build-ngc.sh +++ b/libretro-build-ngc.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash SCRIPT=$(readlink -f $0) BASE_DIR=$(dirname $SCRIPT) diff --git a/libretro-build-ps3.sh b/libretro-build-ps3.sh index 8530f981..e154862e 100755 --- a/libretro-build-ps3.sh +++ b/libretro-build-ps3.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash SCRIPT=$(readlink -f $0) BASE_DIR=$(dirname $SCRIPT) diff --git a/libretro-build-qnx.sh b/libretro-build-qnx.sh index f809c71b..d539fb52 100755 --- a/libretro-build-qnx.sh +++ b/libretro-build-qnx.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash SCRIPT=$(readlink -f $0) BASE_DIR=$(dirname $SCRIPT) diff --git a/libretro-build-wii.sh b/libretro-build-wii.sh index 5dc58a30..2b3ebd09 100755 --- a/libretro-build-wii.sh +++ b/libretro-build-wii.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash SCRIPT=$(readlink -f $0) BASE_DIR=$(dirname $SCRIPT) diff --git a/libretro-build-xdk1.sh b/libretro-build-xdk1.sh index 0d559a76..2c244ba6 100644 --- a/libretro-build-xdk1.sh +++ b/libretro-build-xdk1.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash BASE_DIR=$(pwd) RARCH_DIR=$BASE_DIR/dist diff --git a/libretro-build-xdk360.sh b/libretro-build-xdk360.sh index 54fab41f..db7086c5 100644 --- a/libretro-build-xdk360.sh +++ b/libretro-build-xdk360.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash BASE_DIR=$(pwd) RARCH_DIR=$BASE_DIR/dist diff --git a/libretro-build.sh b/libretro-build.sh index f54ba1ac..be2ddf38 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash . ./libretro-config.sh diff --git a/libretro-config.sh b/libretro-config.sh index 8eb9a1f2..e9951fb6 100755 --- a/libretro-config.sh +++ b/libretro-config.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Architecture Assignment [[ -z "$ARCH" ]] && ARCH="$(uname -m)" diff --git a/libretro-fetch.sh b/libretro-fetch.sh index c3b345f5..949e16c9 100755 --- a/libretro-fetch.sh +++ b/libretro-fetch.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash . ./libretro-config.sh diff --git a/libretro-install.sh b/libretro-install.sh index 521bbae5..d6e25f59 100755 --- a/libretro-install.sh +++ b/libretro-install.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash . ./libretro-config.sh diff --git a/retroarch-build.sh b/retroarch-build.sh index 02918a49..8fbbf21f 100755 --- a/retroarch-build.sh +++ b/retroarch-build.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash . ./libretro-config.sh