From 2e76646998df0ca1b7d160329c0f3ac8cdda2fe0 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 20 Aug 2017 09:22:43 +0000 Subject: Move shunit2 into ./contrib and add catch-1.8.7 --- test/shunit2-2.0.3/lib/sh/shlib | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 test/shunit2-2.0.3/lib/sh/shlib (limited to 'test/shunit2-2.0.3/lib') diff --git a/test/shunit2-2.0.3/lib/sh/shlib b/test/shunit2-2.0.3/lib/sh/shlib deleted file mode 100644 index 00aadcb..0000000 --- a/test/shunit2-2.0.3/lib/sh/shlib +++ /dev/null @@ -1,23 +0,0 @@ -# $Id$ -# vim:syntax=sh -# -# library of shell functions -# - -shlib_relToAbsPath() -{ - _shlib_path=$1 - - # deal with paths that start with / - echo "${_shlib_path}" |grep '^/' >/dev/null 2>&1 - if [ $? -ne 0 ]; then - _shlib_pwd=`pwd` - _shlib_path="${_shlib_pwd}/${_shlib_path}" - unset _shlib_pwd - fi - - # clean up the path - echo "${_shlib_path}" |sed 's/[^/]*\/*\.\.\/*//g;s/\/\.\//\//' - - unset _shlib_path -} -- cgit v1.2.3