mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
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.
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
Script=$PWD/${0##*/}
|
||||
Script=$0
|
||||
[ "/${Script#/}" != "$Script" ] && Script="$PWD/$Script"
|
||||
|
||||
# Source tutorial clean functions
|
||||
. "$WM_PROJECT_DIR/bin/tools/CleanFunctions"
|
||||
|
||||
@ -30,7 +30,8 @@
|
||||
# and all its subdirectories.
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
Script=$PWD/${0##*/}
|
||||
Script=$0
|
||||
[ "/${Script#/}" != "$Script" ] && Script="$PWD/$Script"
|
||||
|
||||
# Normally use standard "make"
|
||||
make="make"
|
||||
|
||||
Reference in New Issue
Block a user