aboutsummaryrefslogtreecommitdiff
path: root/sum2junit.sh
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2013-12-07 12:07:07 -0700
committerRob Savoye <rob.savoye@linaro.org>2013-12-07 12:07:07 -0700
commit69fa2ad7c828f906998ee05d69863aa4351884b8 (patch)
treeb3c8f0fc6bc27653bf9ef529639afb93ae239fb8 /sum2junit.sh
parent917a318bc7b197325c908b9904437df2cb114030 (diff)
fix setting the output file name
Diffstat (limited to 'sum2junit.sh')
-rwxr-xr-xsum2junit.sh4
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