set -x before we call git

This commit is contained in:
0x1eef 2024-04-03 16:45:09 -03:00
parent cf3e87c11a
commit b88947dbd1
2 changed files with 2 additions and 0 deletions

View file

@ -13,4 +13,5 @@ if [ -e "${gitdir}/.git" ]; then
exit 1 exit 1
fi fi
umask u=rwX,g=rwX,o= umask u=rwX,g=rwX,o=
set -x
git clone --depth 1 "${giturl}" "${gitdir}" git clone --depth 1 "${giturl}" "${gitdir}"

View file

@ -8,6 +8,7 @@ gitdir=$1
# main # main
umask u=rwX,g=rwX,o= umask u=rwX,g=rwX,o=
if [ -e "${gitdir}/.git" ]; then if [ -e "${gitdir}/.git" ]; then
set -x
cd "${gitdir}" cd "${gitdir}"
git pull --rebase origin hardenedbsd/main git pull --rebase origin hardenedbsd/main
else else