summaryrefslogtreecommitdiff
path: root/experimental/firefox-esr
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-21 21:46:48 -0400
committerMax Rees <maxcrees@me.com>2019-07-21 21:46:48 -0400
commite144e346b829eb39c1d2c82f5bdc4f8d991624b7 (patch)
tree97a50dd98dd7482b756f72cb207688094e8eaae2 /experimental/firefox-esr
parent0a98be6dbe4597ce4e60063692bea676df03766a (diff)
downloadpackages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.tar.gz
packages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.tar.bz2
packages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.tar.xz
packages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.zip
experimental/*: remove bashisms
Diffstat (limited to 'experimental/firefox-esr')
-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