summaryrefslogtreecommitdiff
path: root/experimental/firefox
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
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')
-rw-r--r--experimental/firefox/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/firefox/APKBUILD b/experimental/firefox/APKBUILD
index 828754077..8d6a24d9b 100644
--- a/experimental/firefox/APKBUILD
+++ b/experimental/firefox/APKBUILD
@@ -59,7 +59,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 16 ]; then
+ if [ -z "$JOBS" ] || [ $JOBS -gt 16 ]; then
echo "mk_add_options MOZ_MAKE_FLAGS=\"-j16\"" >> "$builddir"/mozconfig
fi
}
@@ -100,7 +100,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