diff options
author | Joan Bruguera | 2020-10-07 01:12:02 +0200 |
---|---|---|
committer | Joan Bruguera | 2020-10-07 01:12:02 +0200 |
commit | 0f55b29f804f9a984292559fe9ecb92fab54b8d1 (patch) | |
tree | 08e4e1c235920c70ae4bbda67ef18ad45cbd2673 | |
parent | aa6ba0e4309233fa5ce6062203888a1610cfa1cd (diff) | |
download | aur-0f55b29f804f9a984292559fe9ecb92fab54b8d1.tar.gz |
Follow shellcheck SC2236 recommendation - no pkgrel build.
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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%.*}" |