diff options
-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 |