diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2010-06-11 22:58:29 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-13 12:50:30 +0200 |
commit | c3d96978d0faaa8e54003b45619ec0768147d168 (patch) | |
tree | ff36f9101e1c45a5af5f627784af5b1336bf96c1 | |
parent | d66ed0eae9c82b657bf7f3ea969490ad72155734 (diff) | |
download | qemu-c3d96978d0faaa8e54003b45619ec0768147d168.zip qemu-c3d96978d0faaa8e54003b45619ec0768147d168.tar.gz qemu-c3d96978d0faaa8e54003b45619ec0768147d168.tar.bz2 |
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>
-rwxr-xr-x | create_config | 2 |
1 files changed, 1 insertions, 1 deletions
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:]'` |