From 7ef7a8f53bba2aa1cd9a0ca0dade609918960186 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Dec 13 2013 18:18:08 +0000 Subject: Merge branch 'tcar-scripts' into tcar --- diff --git a/tcar-scripts/tcar_setModuleArguments.sh b/tcar-scripts/tcar_setModuleArguments.sh index 592ee26..fe884a5 100755 --- a/tcar-scripts/tcar_setModuleArguments.sh +++ b/tcar-scripts/tcar_setModuleArguments.sh @@ -49,7 +49,7 @@ function tcar_setModuleArguments { # isn't any or dot is provided, redefine the TCAR_MODULE_ARGUMENT # variable to use the current location the tcar.sh script # was called from. - if [[ -z "${@}" ]];then + if [[ -z "${TCAR_MODULE_ARGUMENT}" ]];then TCAR_MODULE_ARGUMENT=${PWD} fi