aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-06-20 15:42:50 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-06-20 15:42:50 -0700
commit67b5726c0eb8532aa2255395afaadffff3951d10 (patch)
tree3f7b6bb3d52274ab6e458ebb0393a978d3c015f1 /bin
parentbin/build: document better (diff)
downloadwww-67b5726c0eb8532aa2255395afaadffff3951d10.tar.gz
www-67b5726c0eb8532aa2255395afaadffff3951d10.tar.bz2
www-67b5726c0eb8532aa2255395afaadffff3951d10.zip
bin/build: support TRACE=1
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/build.sh b/bin/build.sh
index b91cb4c..f9cd530 100755
--- a/bin/build.sh
+++ b/bin/build.sh
@@ -1,5 +1,7 @@
#!/bin/bash
set -e
+TRACE=${TRACE:=0}
+[[ $TRACE -eq 1 ]] && set -x
IMAGE_NAME=docker.gentoo.org/sites/www
IMAGE_TAG=latest
IMAGE=${IMAGE_NAME}:${IMAGE_TAG}