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. # and all its subdirectories.
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
Script=$PWD/${0##*/} Script=$0
[ "/${Script#/}" != "$Script" ] && Script="$PWD/$Script"
# Source tutorial clean functions # Source tutorial clean functions
. "$WM_PROJECT_DIR/bin/tools/CleanFunctions" . "$WM_PROJECT_DIR/bin/tools/CleanFunctions"

View File

@ -30,7 +30,8 @@
# and all its subdirectories. # and all its subdirectories.
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
Script=$PWD/${0##*/} Script=$0
[ "/${Script#/}" != "$Script" ] && Script="$PWD/$Script"
# Normally use standard "make" # Normally use standard "make"
make="make" make="make"