Scripts in bin: reverted to a "readlink -f" equivalent

command for recursive script
This commit is contained in:
Chris Greenshields
2017-05-30 13:30:49 +01:00
parent ceab23964d
commit bae3b5232c
2 changed files with 4 additions and 2 deletions

View File

@ -30,7 +30,8 @@
# and all its subdirectories.
#
#------------------------------------------------------------------------------
Script=$PWD/${0##*/}
Script=$0
[ "/${Script#/}" != "$Script" ] && Script="$PWD/$Script"
# Source tutorial clean functions
. "$WM_PROJECT_DIR/bin/tools/CleanFunctions"