Dduvall has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/226747

Change subject: Fix unbound variable SKIP_TMPFS error
......................................................................

Fix unbound variable SKIP_TMPFS error

Change-Id: I6906fadede546ce2205797da1c6b267aed586e17
Follows-up: If13aadef929d4b2e7682cc5c2bbe79e474b7c3ba
---
M bin/global-set-env.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/jenkins 
refs/changes/47/226747/1

diff --git a/bin/global-set-env.sh b/bin/global-set-env.sh
index 15a3d8e..fccacd5 100755
--- a/bin/global-set-env.sh
+++ b/bin/global-set-env.sh
@@ -7,7 +7,7 @@
 # Dependent scripts/builders that have issues related to tmpfs, or a non-root
 # temporary filesystem, can set `SKIP_TMPFS` to keep keep the temporary
 # directory under /tmp.
-if [ -d "$HOME/tmpfs" ] && [ -z "$SKIP_TMPFS" ]; then
+if [ -d "$HOME/tmpfs" ] && [ "${SKIP_TMPFS:-0}" != "0" ]; then
        # All slaves should have tmpfs mounted, use if available
        export TMPDIR="$HOME/tmpfs/jenkins-${EXECUTOR_NUMBER}"
 else

-- 
To view, visit https://gerrit.wikimedia.org/r/226747
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6906fadede546ce2205797da1c6b267aed586e17
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins
Gerrit-Branch: master
Gerrit-Owner: Dduvall <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to