From eaeec4056a4d25ad1475119f832de609ccde0fa0 Mon Sep 17 00:00:00 2001 From: TimePath Date: Mon, 13 Jun 2016 22:03:36 +1000 Subject: [PATCH] Increase script portability --- cmake/qcc.sh | 2 +- qcsrc/tools/qcc.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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' -- 2.39.2