]> git.ipfire.org Git - thirdparty/qemu.git/commit - configure
configure: set source_path only once and make its definition more robust
authorAntonio Ospite <antonio.ospite@collabora.com>
Sun, 26 May 2019 14:47:46 +0000 (16:47 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 26 Jun 2019 16:26:54 +0000 (18:26 +0200)
commit142118254b1613499b0f180c954b2ba316e086ad
tree9a8f95049afbc2229f2fd2a47826ed329c28ecff
parent474f3938d79ab36b9231c9ad3b5a9314c2aeacde
configure: set source_path only once and make its definition more robust

Since commit 79d77bcd36 (configure: Remove --source-path option,
2019-04-29) source_path cannot be overridden anymore, move it out of the
"default parameters" block since the word "default" may suggest that the
value can change, while in fact it does not.

While at it, only set source_path once and separate the positional
argument of basename with "--" to more robustly cover the case of path
names starting with a dash.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Antonio Ospite <antonio.ospite@collabora.com>
Message-Id: <20190526144747.30019-2-ao2@ao2.it>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
configure