mirror of
https://review.haiku-os.org/haiku
synced 2025-01-18 12:38:51 +01:00
configure: Avoid bashism introduced in previous hrev.
This commit is contained in:
parent
484f64f315
commit
e042a53b7d
5
configure
vendored
5
configure
vendored
@ -353,11 +353,12 @@ set_default_value()
|
||||
get_build_tool_path()
|
||||
{
|
||||
local var="HAIKU_$1"
|
||||
local varval=`get_variable $var`
|
||||
local cmd=$2
|
||||
|
||||
if [ ! -z "${!var}" ]; then
|
||||
if [ ! -z "$varval" ]; then
|
||||
# this variable is already set (probably by user) so grab its contents
|
||||
cmd=${!var}
|
||||
cmd=$varval
|
||||
fi
|
||||
|
||||
local path=${cmd%% *}
|
||||
|
Loading…
Reference in New Issue
Block a user