git » usbutils.git » commit e543728

Fix quoting

author Antonio Rojas
2019-11-28 21:44:55 UTC
committer Antonio Rojas
2019-11-28 21:44:55 UTC
parent dbeba1cc40bf35e1cdc6aa75a1cf6c99418f7466

Fix quoting

PKGBUILD +3 -3

diff --git a/PKGBUILD b/PKGBUILD
index 147b942..2fad893 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,15 +18,15 @@ md5sums=('0da98eb80159071fdbb00905390509d9'
 validpgpkeys=('647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
+  cd $pkgname-$pkgver
   ./autogen.sh
   ./configure --prefix=/usr --datadir=/usr/share/hwdata --disable-zlib
   make
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$pkgdir install
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
   # this is now in the hwids package
   rm -rf $pkgdir/usr/{share/hwdata,sbin}
 }