Scripts in bin: reverted to a "readlink -f" equivalent
command for recursive script
This commit is contained in:
@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user