]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Increase script portability
authorTimePath <andrew.hardaker1995@gmail.com>
Mon, 13 Jun 2016 12:03:36 +0000 (22:03 +1000)
committerTimePath <andrew.hardaker1995@gmail.com>
Mon, 13 Jun 2016 12:03:57 +0000 (22:03 +1000)
cmake/qcc.sh
qcsrc/tools/qcc.sh

index 2e8ea7062576c9fda587f1f44dd4a892d25353f5..b7c77fd563a35a24ca2b4c1c1b5a4319861b5d52 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 CPP=${CPP:-cpp}
 QCC=${QCC:-$PWD/../../gmqcc/gmqcc${CMAKE_EXECUTABLE_SUFFIX}}
 case $1 in
index 40223c113a85281b1a641aa0b0bffa82b1bbb40f..b115c196ecc75f4bb1ea0bcef52c15f962b9169c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 set -euo pipefail
 IFS=$' \n\t'