Date: Saturday, March 21, 2020 @ 19:10:30
  Author: ffy00
Revision: 603030

quote $pkgdir

Modified:
  arm-none-eabi-gdb/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-03-21 19:10:28 UTC (rev 603029)
+++ PKGBUILD    2020-03-21 19:10:30 UTC (rev 603030)
@@ -44,11 +44,11 @@
 package() {
   cd gdb-$pkgver/build
 
-  make -C gdb DESTDIR=$pkgdir install
+  make -C gdb DESTDIR="$pkgdir" install
 
   # Following files conflict with 'gdb'/'gdb-common' packages
-  rm -r $pkgdir/usr/include/gdb/
-  rm -r $pkgdir/usr/share/gdb/
-  rm -r $pkgdir/usr/share/info/
-  rm -r $pkgdir/usr/share/man/man5/
+  rm -r "$pkgdir"/usr/include/gdb/
+  rm -r "$pkgdir"/usr/share/gdb/
+  rm -r "$pkgdir"/usr/share/info/
+  rm -r "$pkgdir"/usr/share/man/man5/
 }

Reply via email to