From: Jan Kiszka Date: Fri, 11 Jun 2010 20:58:29 +0000 (+0200) Subject: configure: Fix evaluation of config-host.mak in create_config X-Git-Tag: v0.13.0-rc0~280 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3d96978d0faaa8e54003b45619ec0768147d168;p=thirdparty%2Fqemu.git 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 Signed-off-by: Aurelien Jarno --- diff --git a/create_config b/create_config index 23c0cd51f76..0098e683e20 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:]'`