Message ID | 20190626200252.30220-2-laurent@vivier.eu |
---|---|
State | New |
Headers | show |
Series | [PULL,1/4] configure: set source_path only once and make its definition more robust | expand |
diff --git a/configure b/configure index b091b82cb371..b6962d1381a5 100755 --- a/configure +++ b/configure @@ -276,10 +276,10 @@ ld_has() { $ld --help 2>/dev/null | grep ".$1" >/dev/null 2>&1 } -# default parameters -source_path=$(dirname "$0") # make source path absolute -source_path=$(cd "$source_path"; pwd) +source_path=$(cd "$(dirname -- "$0")"; pwd) + +# default parameters cpu="" iasl="iasl" interp_prefix="/usr/gnemul/qemu-%M"