From c3d96978d0faaa8e54003b45619ec0768147d168 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Fri, 11 Jun 2010 22:58:29 +0200 Subject: 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 --- create_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_config b/create_config index 23c0cd5..0098e68 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:]'` -- cgit v1.1