Skip to content

Commit

Permalink
Add log file output
Browse files Browse the repository at this point in the history
  • Loading branch information
crasowas committed Feb 21, 2025
1 parent a0bcc5c commit 890dc4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fixer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ if [ "$silent" == false ]; then
build_dir="$fixer_root_dir/Build/${PRODUCT_NAME}-${CONFIGURATION}_${MARKETING_VERSION}_${CURRENT_PROJECT_VERSION}_$(date +%Y%m%d%H%M%S)"
# Ensure the build directory exists
mkdir -p "$build_dir"

# Redirect both stdout and stderr to a log file while keeping console output
exec > >(tee "$build_dir/fix.log") 2>&1
fi

# File name of the privacy manifest
Expand Down

0 comments on commit 890dc4d

Please sign in to comment.