summaryrefslogtreecommitdiffstats
path: root/tools/config-gen
diff options
context:
space:
mode:
Diffstat (limited to 'tools/config-gen')
-rwxr-xr-xtools/config-gen5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/config-gen b/tools/config-gen
index 441e5a465..720c5a7dd 100755
--- a/tools/config-gen
+++ b/tools/config-gen
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# Copyright (C) 2011 Karel Zak <kzak@redhat.com>
#
@@ -24,7 +24,8 @@ for x in $opts; do
done
if [ -n "$CFLAGS" ]; then
echo "CFLAGS: $CFLAGS"
- export CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS"
+ export CFLAGS
fi
echo