Skip to content

Commit

Permalink
fix #694 set DEBUG_LOG as soon as we know codename
Browse files Browse the repository at this point in the history
  • Loading branch information
petefoth authored Oct 3, 2024
1 parent 6d09a4a commit fe03fc3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/new_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ for codename in ${devices//,/ }; do
logsubdir=
fi

# Set device specific logfils
DEBUG_LOG="$LOGS_DIR/$logsubdir/$branch-$builddate-$RELEASE_TYPE-$codename.log"

# `repo init`
if [ "$CALL_REPO_INIT" = true ]; then
echo ">> [$(date)] (Re)initializing branch repository" | tee -a "$repo_log"
Expand Down Expand Up @@ -308,7 +311,7 @@ for codename in ${devices//,/ }; do
los_ver_minor=$(sed -n -e 's/^\s*PRODUCT_VERSION_MINOR = //p' "$makefile_containing_version")
los_ver="$los_ver_major.$los_ver_minor"

DEBUG_LOG="$LOGS_DIR/$logsubdir/lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename.log"
# DEBUG_LOG="$LOGS_DIR/$logsubdir/lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename.log"

# Set RELEASE_TYPE
echo ">> [$(date)] Setting \"$RELEASE_TYPE\" as release type"
Expand Down

0 comments on commit fe03fc3

Please sign in to comment.