aboutsummaryrefslogtreecommitdiff
path: root/create_config
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-06-11 22:58:29 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-06-13 12:50:30 +0200
commitc3d96978d0faaa8e54003b45619ec0768147d168 (patch)
treeff36f9101e1c45a5af5f627784af5b1336bf96c1 /create_config
parentd66ed0eae9c82b657bf7f3ea969490ad72155734 (diff)
configure: Fix evaluation of config-host.mak in create_config
Only match on true dir variable assignments, avoid generating garbage due to the "# Configured with: ..." line which may contain "*dir=" as well. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'create_config')
-rwxr-xr-xcreate_config2
1 files changed, 1 insertions, 1 deletions
diff --git a/create_config b/create_config
index 23c0cd51f7..0098e683e2 100755
--- a/create_config
+++ b/create_config
@@ -13,7 +13,7 @@ case $line in
pkgversion=${line#*=}
echo "#define QEMU_PKGVERSION \"$pkgversion\""
;;
- prefix=* | *dir=*) # directory configuration
+ prefix=* | [a-z]*dir=*) # directory configuration
name=${line%=*}
value=${line#*=}
define_name=`echo $name | tr '[:lower:]' '[:upper:]'`