:78 Function create_function() is deprecated [8192]

setting absolute path acccross the aux function

Marcelo Ponce [2019-07-01 17:19:48]
setting absolute path acccross the aux function
Filename
core/auxs/auxFns.sh
diff --git a/core/auxs/auxFns.sh b/core/auxs/auxFns.sh
index 044fbbe..363a409 100755
--- a/core/auxs/auxFns.sh
+++ b/core/auxs/auxFns.sh
@@ -32,7 +32,7 @@ welcome() {
 ##

 helpMsg(){
-	scriptsDIR=`dirname $0`
+	scriptsDIR=$( cd "`dirname $0`" && pwd )	#`dirname $0`
 	welcome
 	echo $scriptsDIR
 	echo "How to use this script:"
@@ -43,7 +43,7 @@ helpMsg(){
 usage() {
 	shebang="#!/bin/bash"
 	scriptName=`basename $0`
-	scriptsDIR=`dirname $0`
+	scriptsDIR=$( cd "`dirname $0`" && pwd )	#`dirname $0`
 	welcome
 	echo "************************"
 	echo $scriptName
@@ -71,7 +71,7 @@ checkTools(){

 checkIntegrityPipeline(){
 	echo "Verifying RACS integrity..."
-	scriptsDIR=`dirname $0`
+	scriptsDIR=$( cd "`dirname $0`" && pwd )	#`dirname $0`
 	for dep in "$@"; do
 		# this will make the fn look in the location from where the fn is being called, ie. relative to the location of the calling script...
 		testing=$scriptsDIR/$dep
ViewGit