Commit bc77cbdb107b5f4b84be9e9f14922e2c775c06ba

Authored by Jean-François Rey
1 parent d7e9e4b9df
Exists in master

oublie

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

main_tools/OneScriptToRuleThemAll.sh
... ... @@ -145,7 +145,7 @@
145 145 if [ -e $1 ] && [ -s $1 ]
146 146 then
147 147 echo -e "$LORD\n"
148   - REP_OUT=$2/${1%.*}
  148 + REP_OUT=$2/$(basename ${1%.*})
149 149 if [ $p1 -eq 1 ];then ${MAIN_SCRIPT_PATH}/FirstPass.sh ${RING} $1 $2;fi
150 150 if [ $p2 -eq 1 ];then ${MAIN_SCRIPT_PATH}/SecondPass.sh ${RING} ${REP_OUT};fi
151 151 if [ $conf -eq 1 ];then $p${MAIN_SCRIPT_PATH}/ConfPass.sh ${RING} ${REP_OUT} "res_p2";fi