Commit a74ee030 authored by iker_martin's avatar iker_martin
Browse files

Minor changes to exec scripts

parent cb048c77
...@@ -28,7 +28,7 @@ configFile=$2 ...@@ -28,7 +28,7 @@ configFile=$2
use_extrae=$3 use_extrae=$3
outFileIndex=$4 outFileIndex=$4
qty=1 qty=1
if [ $# -ge 6 ] if [ $# -gt 5 ]
then then
qty=$5 qty=$5
fi fi
......
#!/bin/bash #!/bin/bash
#This script should only be called by others scripts, do not call it directly #This script should only be called by others scripts, do not call it directly
codeDir="/Codes/build" codeDir="/Codes/build"
execDir="/Exec"
ResultsDir="/Results"
echo "START TEST" echo "START TEST"
...@@ -24,17 +26,17 @@ use_extrae=0 ...@@ -24,17 +26,17 @@ use_extrae=0
outFileIndex=0 outFileIndex=0
qty=1 qty=1
if [ $# -ge 4 ] if [ $# -gt 3 ]
then then
use_extrae=$3 use_extrae=$3
fi fi
if [ $# -ge 5 ] if [ $# -gt 4 ]
then then
outFileIndex=$4 outFileIndex=$4
fi fi
if [ $# -ge 6 ] if [ $# -gt 5 ]
then then
qty=$5 qty=$5
fi fi
......
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