configure: Fix bashism
Debian uses dash as /bin/sh which doesn't know about [[ ]].
This commit is contained in:
parent
c608fa61f8
commit
6a4f39545c
2
configure
vendored
2
configure
vendored
@ -171,7 +171,7 @@ assertparams()
|
|||||||
#
|
#
|
||||||
absolute_path()
|
absolute_path()
|
||||||
{
|
{
|
||||||
if [[ "$1" == /* ]]; then
|
if [ "x$1" != "x${1#/}" ]; then
|
||||||
echo "$1"
|
echo "$1"
|
||||||
else
|
else
|
||||||
echo "`pwd`/$1"
|
echo "`pwd`/$1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user