diff options
Diffstat (limited to 'config.tests')
-rwxr-xr-x | config.tests/unix/makeabs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/config.tests/unix/makeabs b/config.tests/unix/makeabs deleted file mode 100755 index f1d8a4056f..0000000000 --- a/config.tests/unix/makeabs +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -FILE="$1" -RES="$FILE" -if [ -z "${FILE##/*}" ]; then - true -elif [ "$OSTYPE" = "msys" -a -z "${FILE##[a-zA-Z]:[/\\]*}" ]; then - true -else - RES="$PWD/$FILE" -fi -RES=$RES/ -while true; do - nres=`echo "$RES" | sed "s,/[^/][^/]*/\.\./,/,g; s,/\./,/,g"` - test x"$nres" = x"$RES" && break - RES=$nres -done -RES=`echo "$RES" | sed "s,//,/,g; s,/$,,"` -echo $RES #return - |