From d49fd1866844b92fdd2258356d21bee600b19491 Mon Sep 17 00:00:00 2001 From: "Kasper D. Fischer" Date: Tue, 25 May 2021 12:14:15 +0200 Subject: [PATCH] fixing path to prolog.d, epilog.d, pe_prolog.d, pe_epilog.d; remove echo --- bin/pro-epilog_wrapper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pro-epilog_wrapper.sh b/bin/pro-epilog_wrapper.sh index 5f69c9e..ee652c6 100755 --- a/bin/pro-epilog_wrapper.sh +++ b/bin/pro-epilog_wrapper.sh @@ -4,7 +4,7 @@ PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin FILES="" SCRIPTNAME=$(basename $0) -DIRS="/opt/SGE/local/scripts/${SCRIPTNAME}.d /usr/local/etc/gridengine/${SCRIPTNAME}.d" +DIRS="/opt/SGE/local/${SCRIPTNAME}.d /usr/local/etc/gridengine/${SCRIPTNAME}.d" for DIR in ${DIRS} ; do if [ -d ${DIR} ] ; then if [ ! -z $(ls ${DIR}/[0-9][0-9]*) ] ; then @@ -15,6 +15,6 @@ done FILESSORTED="$(echo ${FILES} | sort)" for FILE in ${FILESSORTED} ; do - echo ${FILE} || exit $? + ${FILE} || exit $? done exit 0