[arch-commits] Commit in nfs-utils/trunk (PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Wed Sep 25 16:42:43 UTC 2019
Date: Wednesday, September 25, 2019 @ 16:42:43
Author: andyrtr
Revision: 363386
fix quoting
Modified:
nfs-utils/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-25 16:40:58 UTC (rev 363385)
+++ PKGBUILD 2019-09-25 16:42:43 UTC (rev 363386)
@@ -24,7 +24,7 @@
validpgpkeys=('E1B71E339E20A10A676F7CB69AFB1D681A125177') # Steve Dickson
prepare() {
- cd ${pkgbase}-${pkgver}
+ cd "${pkgbase}"-${pkgver}
# fix hardcoded sbin path to our needs
sed -i "s|sbindir = /sbin|sbindir = /usr/bin|g" utils/*/Makefile.am
@@ -32,7 +32,7 @@
}
build() {
- cd ${pkgbase}-${pkgver}
+ cd "${pkgbase}"-${pkgver}
./configure --prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
@@ -47,7 +47,7 @@
}
check() {
- cd ${pkgbase}-${pkgver}
+ cd "${pkgbase}"-${pkgver}
make -k check || /bin/true
}
@@ -61,7 +61,7 @@
optdepends=('sqlite: for nfsdcltrack usage'
'python: for nfsiostat and mountstats usage')
- cd ${pkgbase}-${pkgver}
+ cd "${pkgbase}"-${pkgver}
make DESTDIR="$pkgdir" install
install -D -m 644 utils/mount/nfsmount.conf "$pkgdir"/etc/nfsmount.conf
@@ -87,11 +87,11 @@
mkdir "$pkgdir"/var/lib/nfs/v4recovery
# nfsidmap cleanup
- rm -vrf $pkgdir/usr/include #/nfsid*
- rm -vrf $pkgdir/usr/lib/libnfsidmap*
- rm -vrf $pkgdir/usr/lib/pkgconfig #/libnfsidmap.pc
- rm -v $pkgdir/usr/share/man/{man3/nfs4_uid_to_name*,man5/idmapd.conf*}
- rm -rf $pkgdir/usr/share/man/man3
+ rm -vrf "$pkgdir"/usr/include #/nfsid*
+ rm -vrf "$pkgdir"/usr/lib/libnfsidmap*
+ rm -vrf "$pkgdir"/usr/lib/pkgconfig #/libnfsidmap.pc
+ rm -v "$pkgdir"/usr/share/man/{man3/nfs4_uid_to_name*,man5/idmapd.conf*}
+ rm -rf "$pkgdir"/usr/share/man/man3
}
package_nfsidmap() {
@@ -101,7 +101,7 @@
backup=(etc/idmapd.conf)
depends=('libldap')
- cd ${pkgbase}-${pkgver}
+ cd "${pkgbase}"-${pkgver}
make -C support DESTDIR="$pkgdir" install
# config file
install -D -m 644 support/nfsidmap/idmapd.conf "$pkgdir"/etc/idmapd.conf
More information about the arch-commits
mailing list