diff options
author | Rob Savoye <rob.savoye@linaro.org> | 2013-12-07 12:07:07 -0700 |
---|---|---|
committer | Rob Savoye <rob.savoye@linaro.org> | 2013-12-07 12:07:07 -0700 |
commit | 69fa2ad7c828f906998ee05d69863aa4351884b8 (patch) | |
tree | b3c8f0fc6bc27653bf9ef529639afb93ae239fb8 /sum2junit.sh | |
parent | 917a318bc7b197325c908b9904437df2cb114030 (diff) |
fix setting the output file name
Diffstat (limited to 'sum2junit.sh')
-rwxr-xr-x | sum2junit.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sum2junit.sh b/sum2junit.sh index 155e86ee..a238165a 100755 --- a/sum2junit.sh +++ b/sum2junit.sh @@ -14,8 +14,8 @@ else fi # Where to put the output file -if test x"$2" = x; then - outfile=${outfile} +if test x"$2" != x; then + outfile=$2 else outfile="/tmp/${outfile}" fi |