summaryrefslogtreecommitdiff
path: root/experimental/firefox-esr/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/firefox-esr/APKBUILD')
-rw-r--r--experimental/firefox-esr/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/firefox-esr/APKBUILD b/experimental/firefox-esr/APKBUILD
index ae94ce6e7..15191dba8 100644
--- a/experimental/firefox-esr/APKBUILD
+++ b/experimental/firefox-esr/APKBUILD
@@ -82,7 +82,7 @@ prepare() {
echo "ac_add_options --host=\"$CHOST\"" >> "$builddir"/mozconfig
echo "ac_add_options --target=\"$CTARGET\"" >> "$builddir"/mozconfig
# too much memory
- if [ -z "$JOBS" -o $JOBS -gt 32 ]; then
+ if [ -z "$JOBS" ] || [ $JOBS -gt 32 ]; then
echo "mk_add_options MOZ_MAKE_FLAGS=\"-j32\"" >> "$builddir"/mozconfig
fi
}
@@ -117,7 +117,7 @@ package() {
local png
for png in browser/branding/official/default*.png; do
- local i=${_png%.png}
+ local i="${_png%.png}"
i=${i##*/default}
install -D -m644 "$png" \
"$pkgdir"/usr/share/icons/hicolor/${i}x${i}/apps/firefox.png