Skip to content

Commit

Permalink
Correct path to 'target-files/.zip'
Browse files Browse the repository at this point in the history
  • Loading branch information
petefoth committed Sep 17, 2023
1 parent 9f17640 commit 9b2b1df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ for branch in ${BRANCH_NAME//,/ }; do
git clean -q -f
cd ../../..
fi

if [ -n "$modules_permission_patch" ] && [ "$SIGNATURE_SPOOFING" = "yes" ]; then
cd packages/modules/Permission
echo ">> [$(date)] Applying the modules/Permission patch ($modules_permission_patch) to packages/modules/Permission"
Expand Down Expand Up @@ -360,10 +360,10 @@ for branch in ${BRANCH_NAME//,/ }; do
echo ">> [$(date)] Starting build for $codename, $branch branch" | tee -a "$DEBUG_LOG"
build_successful=false
if (set +eu ; mka "${jobs_arg[@]}" target-files-package bacon) &>> "$DEBUG_LOG"; then

# make the - img.zip file
echo ">> [$(date)] Making -img.zip file" | tee -a "$DEBUG_LOG"
infile="out/target/product/$codename/PACKAGING/target_files_intermediates/lineage_$codename-target_files-eng.root.zip"
infile="out/target/product/$codename/obj/PACKAGING/target_files_intermediates/lineage_$codename-target_files-eng.root.zip"
outfile="$codename-img.zip"
img_from_target_files "$infile" "$outfile" &>> "$DEBUG_LOG"

Expand Down

0 comments on commit 9b2b1df

Please sign in to comment.