From: TimePath Date: Mon, 13 Jun 2016 12:03:36 +0000 (+1000) Subject: Increase script portability X-Git-Tag: xonotic-v0.8.2~808 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=eaeec4056a4d25ad1475119f832de609ccde0fa0;p=xonotic%2Fxonotic-data.pk3dir.git Increase script portability --- diff --git a/cmake/qcc.sh b/cmake/qcc.sh index 2e8ea7062..b7c77fd56 100755 --- a/cmake/qcc.sh +++ b/cmake/qcc.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash CPP=${CPP:-cpp} QCC=${QCC:-$PWD/../../gmqcc/gmqcc${CMAKE_EXECUTABLE_SUFFIX}} case $1 in diff --git a/qcsrc/tools/qcc.sh b/qcsrc/tools/qcc.sh index 40223c113..b115c196e 100755 --- a/qcsrc/tools/qcc.sh +++ b/qcsrc/tools/qcc.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail IFS=$' \n\t'