Convert configure script shebang back to /bin/sh for cross-platform compatability (#215)

pull/216/head
ethoms 2016-07-13 02:47:54 +08:00 committed by Patrice Levesque
parent a6ae11c2e0
commit aea4ee72c9
1 changed files with 3 additions and 2 deletions

5
configure vendored
View File

@ -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"