From bc77cbdb107b5f4b84be9e9f14922e2c775c06ba Mon Sep 17 00:00:00 2001 From: rey jean-Francois Date: Thu, 1 Aug 2013 17:24:37 +0200 Subject: [PATCH] oublie --- main_tools/OneScriptToRuleThemAll.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_tools/OneScriptToRuleThemAll.sh b/main_tools/OneScriptToRuleThemAll.sh index 9aca8ae..0c7c79f 100755 --- a/main_tools/OneScriptToRuleThemAll.sh +++ b/main_tools/OneScriptToRuleThemAll.sh @@ -145,7 +145,7 @@ shift $((OPTIND-1)) if [ -e $1 ] && [ -s $1 ] then echo -e "$LORD\n" - REP_OUT=$2/${1%.*} + REP_OUT=$2/$(basename ${1%.*}) if [ $p1 -eq 1 ];then ${MAIN_SCRIPT_PATH}/FirstPass.sh ${RING} $1 $2;fi if [ $p2 -eq 1 ];then ${MAIN_SCRIPT_PATH}/SecondPass.sh ${RING} ${REP_OUT};fi if [ $conf -eq 1 ];then $p${MAIN_SCRIPT_PATH}/ConfPass.sh ${RING} ${REP_OUT} "res_p2";fi -- 1.8.2.3