diff options
author | Max Rees <maxcrees@me.com> | 2019-07-21 04:02:27 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2019-07-21 04:43:04 -0400 |
commit | 23bcb3767f6d16eaba523055f0b8474bfbae16ba (patch) | |
tree | 95327b88bac6651c45ca92c099d4fb300716ba49 /system/nss | |
parent | d3eb7058d8f66a7fa94c262314df4c95a76a36fc (diff) | |
download | packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.gz packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.bz2 packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.xz packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.zip |
system/*: initial bashism removal
Diffstat (limited to 'system/nss')
-rw-r--r-- | system/nss/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/nss/APKBUILD b/system/nss/APKBUILD index 9c41ced39..f88776116 100644 --- a/system/nss/APKBUILD +++ b/system/nss/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=nss pkgver=3.44.1 -_ver=${pkgver//./_} +_ver=$(printf '%s' "$pkgver" | tr . _) pkgrel=0 pkgdesc="Mozilla Network Security Services" url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS" @@ -13,7 +13,7 @@ depends="" depends_dev="nspr-dev" makedepends="nspr-dev sqlite-dev zlib-dev perl bsd-compat-headers" subpackages="$pkgname-static $pkgname-dev $pkgname-tools" -source="https://ftp.mozilla.org/pub/security/$pkgname/releases/NSS_${pkgver//./_}_RTM/src/$pkgname-$pkgver.tar.gz +source="https://ftp.mozilla.org/pub/security/$pkgname/releases/NSS_${_ver}_RTM/src/$pkgname-$pkgver.tar.gz nss.pc.in nss-util.pc.in nss-softokn.pc.in @@ -85,7 +85,7 @@ package() { -e "s,@MOD_PATCH_VERSION@,${NSS_VPATCH},g" \ > "$pkgdir"/usr/bin/nss-config chmod 755 "$pkgdir"/usr/bin/nss-config - local minor=${pkgver#*.} + local minor="${pkgver#*.}" minor=${minor%.*} for file in $(find dist/*.OBJ/lib -name "*.so"); do install -m755 $file \ |