summaryrefslogtreecommitdiffstats
path: root/config.tests/unix
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2014-11-28 14:28:49 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-02-05 14:26:36 +0000
commit4b557751e873e0c6f39b1ba002cadfb32fdf3688 (patch)
treefc0b09af64c81c2bafe798e3ae21a15267d4b7a0 /config.tests/unix
parentf40760789701a81139f7a618da4ea6ca764c269f (diff)
make makeabs a function
there is no reason at all for it to be an external script. Change-Id: I836f38dd06f61350dd9f83015857abb07981c62d Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'config.tests/unix')
-rwxr-xr-xconfig.tests/unix/makeabs20
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
-