fix on 10th arg

This commit is contained in:
edoapra 2017-12-05 11:04:20 -08:00
parent 885908cfe4
commit 935e056e89
No known key found for this signature in database
GPG key ID: 79CA3F28FF1B91CE

View file

@ -3,7 +3,7 @@
#"${@}" &
narg="${#}"
if [ "$narg" -eq 10 ]; then
outfile=../testoutputs/$10
outfile=../testoutputs/"${10}"
$1 $2 $3 $4 $5 $6 $7 $8 $9 >& $outfile &
elif [ "$narg" -eq 9 ]; then
outfile=../testoutputs/$9