configure: Fix bashism

Debian uses dash as /bin/sh which doesn't know about [[ ]].
This commit is contained in:
François Revol 2013-09-28 23:58:12 +02:00
parent c608fa61f8
commit 6a4f39545c

2
configure vendored
View File

@ -171,7 +171,7 @@ assertparams()
#
absolute_path()
{
if [[ "$1" == /* ]]; then
if [ "x$1" != "x${1#/}" ]; then
echo "$1"
else
echo "`pwd`/$1"