[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] fix e5d2db0b: fixup one more case
Holger Levsen
gitlab at salsa.debian.org
Fri Nov 20 13:19:28 GMT 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
d75c8e48 by Holger Levsen at 2020-11-20T14:19:09+01:00
fix e5d2db0b: fixup one more case
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/common-functions.sh
Changes:
=====================================
bin/common-functions.sh
=====================================
@@ -80,8 +80,8 @@ if [ "${0:0:5}" != "/tmp/" ] ; then
*) ;;
esac
# mktemp some place for us...
- TTT=$(mktemp --tmpdir=/tmp jenkins-script-XXXXXXXX)
- if [ "${TTT+x}" != "x" ] ; then
+ TTT="$(mktemp --tmpdir=/tmp jenkins-script-XXXXXXXX)"
+ if [ -z "$TTT" ] ; then
echo "Failed to create tmpfile, aborting. (Probably due to read-only filesystem…)"
exit 1
fi
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/d75c8e48f370397a3f48acf06d8e5d5004792e8a
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/d75c8e48f370397a3f48acf06d8e5d5004792e8a
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20201120/45d07081/attachment.html>
More information about the Qa-jenkins-scm
mailing list