ci/sub: Update for $DEBUG support

This commit is contained in:
Anmol Sethi 2022-11-14 13:51:24 -08:00
parent 2ad39b2ec9
commit b1c3e37b9c
4 changed files with 7 additions and 11 deletions

View file

@ -85,10 +85,6 @@ EOF
}
main() {
if [ -n "${DEBUG-}" ]; then
set -x
fi
METHOD=standalone
while :; do
flag_parse "$@"

View file

@ -172,7 +172,7 @@ ARCHIVE=$ARCHIVE \
TERM=$TERM \
PATH=\"/usr/local/bin:/usr/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin\${PATH+:\$PATH}\" \
./src/d2/ci/release/_build.sh"
sh_c mkdir -p $HW_BUILD_DIR
sh_c mkdir -p "$HW_BUILD_DIR"
sh_c rsync --archive --human-readable "$RHOST:src/d2/$ARCHIVE" "$ARCHIVE"
}
@ -187,7 +187,7 @@ ARCH=$ARCH \
ARCHIVE=$ARCHIVE \
TERM=$TERM \
./src/d2/ci/release/build_docker.sh"
sh_c mkdir -p $HW_BUILD_DIR
sh_c mkdir -p "$HW_BUILD_DIR"
sh_c rsync --archive --human-readable "$RHOST:src/d2/$ARCHIVE" "$ARCHIVE"
}

2
ci/sub

@ -1 +1 @@
Subproject commit 7bc83403e3fd470a7cba1187e7588ea2c389f41d
Subproject commit a2da81bcbc12c9ce4f53d8e74385d0d93184484d

View file

@ -49,6 +49,10 @@ if [ "${LIB_LOG-}" ]; then
fi
LIB_LOG=1
if [ -n "${DEBUG-}" ]; then
set -x
fi
tput() {
if [ -n "$TERM" ]; then
command tput "$@"
@ -515,10 +519,6 @@ EOF
}
main() {
if [ -n "${DEBUG-}" ]; then
set -x
fi
METHOD=standalone
while :; do
flag_parse "$@"