summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2014-11-18 20:11:08 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-02-04 16:33:42 +0000
commit9c877bf6ed39237863b2801682a3532bfee3034d (patch)
tree27ba705a7db1746e8738095865890c4085e52df2 /configure
parentb8ed5d3c6fa50d48bda84dd5c3c05f1395c1f638 (diff)
remove support for ancient /bin/sh which mishandle empty "$@"
Change-Id: Id936a48e8b9a5b8e15512481e464a0e9366b9152 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure b/configure
index f44b079ec6..a1861ca006 100755
--- a/configure
+++ b/configure
@@ -7059,11 +7059,7 @@ fi'`
echo "export PKG_CONFIG_SYSROOT_DIR=$PKG_CONFIG_SYSROOT_DIR" >> "$outpath/config.status"
[ -n "$PKG_CONFIG_LIBDIR" ] && \
echo "export PKG_CONFIG_LIBDIR=$PKG_CONFIG_LIBDIR" >> "$outpath/config.status"
- echo "if [ \"\$#\" -gt 0 ]; then" >> "$outpath/config.status"
- echo " $CONFIG_STATUS \"\$@\"" >> "$outpath/config.status"
- echo "else" >> "$outpath/config.status"
- echo " $CONFIG_STATUS" >> "$outpath/config.status"
- echo "fi" >> "$outpath/config.status"
+ echo "$CONFIG_STATUS \"\$@\"" >> "$outpath/config.status"
chmod +x "$outpath/config.status"
fi