summaryrefslogtreecommitdiffstats
path: root/config.tests/unix/makeabs
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/unix/makeabs')
-rwxr-xr-xconfig.tests/unix/makeabs27
1 files changed, 0 insertions, 27 deletions
diff --git a/config.tests/unix/makeabs b/config.tests/unix/makeabs
deleted file mode 100755
index d2f65d19e9..0000000000
--- a/config.tests/unix/makeabs
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-FILE="$1"
-RES="$FILE"
-
-CUT_ARG="-b1"
-if [ `uname -s` = "QNX" ]; then
- # QNX does not understand "-b1"
- CUT_ARG="-c1"
-fi
-
-if [ `echo $FILE | cut $CUT_ARG` = "/" ]; 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
-