Commit 53b3d3bd authored by Iker Martín Álvarez's avatar Iker Martín Álvarez
Browse files

Fixed minor error in arg reading

parent 74d354ac
...@@ -40,17 +40,17 @@ qty=1 ...@@ -40,17 +40,17 @@ qty=1
if [ $# -ge 4 ] if [ $# -ge 4 ]
then then
use_extrae=$3 use_extrae=$4
fi fi
if [ $# -ge 5 ] if [ $# -ge 5 ]
then then
outFileIndex=$4 outFileIndex=$5
fi fi
if [ $# -ge 6 ] if [ $# -ge 6 ]
then then
qty=$5 qty=$6
fi fi
numP=$(bash $dir$execDir/BashScripts/getNumPNeeded.sh $configFile 0) numP=$(bash $dir$execDir/BashScripts/getNumPNeeded.sh $configFile 0)
...@@ -69,7 +69,7 @@ then ...@@ -69,7 +69,7 @@ then
fi fi
#EXECUTE RUN #EXECUTE RUN
echo "Nodes=$nodelist" echo "Nodes=$nodelist $use_extrae"
if [ $use_extrae -ne 1 ] if [ $use_extrae -ne 1 ]
then then
for ((i=0; i<qty; i++)) for ((i=0; i<qty; i++))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment