Skip to content

Commit b7eaf0f

Browse files
committed
set x
1 parent 4500cd7 commit b7eaf0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/update.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
#
66
# shellcheck disable=SC1090,SC1091,SC2015,SC2034
77

8+
set -x
9+
810
root="$1"
911
[[ -n "$root" && ! "${root:0:2}" =~ -(m|d) ]] && shift || root="."
1012
[ -d "$root" ] || { gh auth status &>/dev/null && gh repo clone "${GITHUB_OWNER:-ipitio}/${GITHUB_REPO:-backage}" "$root" -- --depth=1 -b "$GITHUB_BRANCH" --single-branch || git clone --depth=1 -b "$GITHUB_BRANCH" --single-branch "https://$([ -n "$GITHUB_TOKEN" ] && echo "$GITHUB_TOKEN@" || echo "")github.com/${GITHUB_OWNER:-ipitio}/${GITHUB_REPO:-backage}.git" "$root"; }

0 commit comments

Comments
 (0)