Scripts in bin: reverted to a "readlink -f" equivalent
command for recursive script
This commit is contained in:
parent
ceab23964d
commit
bae3b5232c
2 changed files with 4 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue