File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 99
1010root=" $1 "
1111[[ -n " $root " && ! " ${root: 0: 2} " =~ -(m| d) ]] && shift || root=" ."
12- [ -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 " ; }
12+ [ -d " $root /.git " ] || { 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 " ; }
1313pushd " $root " || exit 1
1414pushd src || exit 1
1515source bkg.sh
You can’t perform that action at this time.
0 commit comments