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