Skip to content

Commit

Permalink
Avoid re-building on local machine
Browse files Browse the repository at this point in the history
  • Loading branch information
JingMatrix committed Jun 5, 2023
1 parent a28ce2c commit 76024ab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#! bash

[[ -e MagiskFonts.zip ]] && rm MagiskFonts.zip
if [[ -z $TERMUX_VERSION ]]; then
echo "Skip building font-scan if not in termux"
7z a MagiskFonts.zip META-INF customize.sh module.prop system tool
exit
fi
pushd fontconfig
pushd fontconfig
rm -rf build
meson build
Expand Down

0 comments on commit 76024ab

Please sign in to comment.