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"