More debug output

This commit is contained in:
2023-01-28 11:21:58 -05:00
parent 63ce0122cf
commit 489988c16d

View File

@@ -608,6 +608,9 @@ fromSource() {
echo "Building from source is under development" echo "Building from source is under development"
debug "kopts: ${P_ARR[kopts]}"
debug "pkgs: ${P_ARR[packages]}"
# Update source code # Update source code
if [[ ! -d "$GITSRCDIR" ]]; then if [[ ! -d "$GITSRCDIR" ]]; then
mkdir -p "$GITSRCDIR" mkdir -p "$GITSRCDIR"
@@ -616,10 +619,10 @@ fromSource() {
git -C "$GITSRCDIR" pull git -C "$GITSRCDIR" pull
if [[ ${P_ARR[release]} == "snapshot" ]]; then if [[ $RELEASE == "snapshot" ]]; then
git -C "$GITSRCDIR" worktree add -q -d "$GITWORKTREEDIR" master git -C "$GITSRCDIR" worktree add -d "$GITWORKTREEDIR" master
else else
git -C "$GITSRCDIR" worktree add -q -d "$GITWORKTREEDIR" "v$RELEASE" git -C "$GITSRCDIR" worktree add -d "$GITWORKTREEDIR" "v$RELEASE"
fi fi
pushd "$GITWORKTREEDIR" &>/dev/null || return 1 pushd "$GITWORKTREEDIR" &>/dev/null || return 1