From aea4ee72c93dd468d768c1875e8b70005240685a Mon Sep 17 00:00:00 2001 From: ethoms Date: Wed, 13 Jul 2016 02:47:54 +0800 Subject: [PATCH] Convert configure script shebang back to /bin/sh for cross-platform compatability (#215) --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure b/configure index c39a4d283..1da385a25 100755 --- a/configure +++ b/configure @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # Note: When adding make options to this script, ensure that the source still @@ -235,7 +235,8 @@ genConfigMake() { cfgwrite "# $MAKE debug=yes" cfgwrite "" - cfgwrite "TOPDIR:=$( sed 's/ /\\\ /g' <<< ${TOPDIR} )" + TOPDIR_CFGWRITE=`echo ${TOPDIR} | sed 's/ /\\\ /g'` + cfgwrite "TOPDIR:=${TOPDIR_CFGWRITE}" cfgwrite "" cfgwrite "NEEDS_GUI=no"