diff options
author | Peter Carbonetto | 2017-07-18 13:56:10 -0500 |
---|---|---|
committer | Peter Carbonetto | 2017-07-18 13:56:10 -0500 |
commit | 42dc643e44563f64d3b7593c051898b7879d9878 (patch) | |
tree | 33fcd6aa1066016aea9b54e97a84f4250562c007 /shunit2-2.0.3/lib/sh/shlib | |
parent | 8de8f701755b3dc4c042591541aa86bfda02f36b (diff) | |
download | pangemma-42dc643e44563f64d3b7593c051898b7879d9878.tar.gz |
Moved shunit2 files to test directory.
Diffstat (limited to 'shunit2-2.0.3/lib/sh/shlib')
-rw-r--r-- | shunit2-2.0.3/lib/sh/shlib | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/shunit2-2.0.3/lib/sh/shlib b/shunit2-2.0.3/lib/sh/shlib deleted file mode 100644 index 00aadcb..0000000 --- a/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 -} |