summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoan Bruguera2020-10-07 01:12:02 +0200
committerJoan Bruguera2020-10-07 01:12:02 +0200
commit0f55b29f804f9a984292559fe9ecb92fab54b8d1 (patch)
tree08e4e1c235920c70ae4bbda67ef18ad45cbd2673
parentaa6ba0e4309233fa5ce6062203888a1610cfa1cd (diff)
downloadaur-0f55b29f804f9a984292559fe9ecb92fab54b8d1.tar.gz
Follow shellcheck SC2236 recommendation - no pkgrel build.
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2d9c1b9f09a2..b6c619fb38cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ sha512sums=(159efc17ba446f3f2205a8c0580ed10fab263f8bdb7306d5444d1fc6a592f80d749c
# WORKAROUND: The sources are outdated compared to Arch's environment,
# so we have to downgrade/disable some things...
-[[ ! -z "$LDFLAGS" ]] && export LDFLAGS="$LDFLAGS,--no-as-needed"
+[[ -n "$LDFLAGS" ]] && export LDFLAGS="$LDFLAGS,--no-as-needed"
prepare() {
cd "$srcdir/${_bundlepkgname}-${_bundlepkgver}/$pkgname-${pkgver%.*}"