[arch-commits] Commit in ext3grep/trunk (PKGBUILD)

Frederik Schwan freswa at archlinux.org
Fri Aug 28 12:17:41 UTC 2020


    Date: Friday, August 28, 2020 @ 12:17:40
  Author: freswa
Revision: 690678

fix unquoted variables

Modified:
  ext3grep/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-28 12:17:09 UTC (rev 690677)
+++ PKGBUILD	2020-08-28 12:17:40 UTC (rev 690678)
@@ -17,16 +17,16 @@
             'f85913a797ddca5ee63481e0982536cf7b0dc062f58f3dae1121113380c30a21')
 
 prepare() {
-  cd $pkgname-$pkgver
+  cd ${pkgname}-${pkgver}
 
 #http://code.google.com/p/ext3grep/issues/detail?id=34
-  patch -Np1 -i ${srcdir}/$pkgname-build.patch
+  patch -Np1 -i "${srcdir}"/${pkgname}-build.patch
 
   patch -p1 -i ../ext3grep-e2fsprogs-1.44.1.patch # Fix build with e2fsprogs 1.44.1
 }
 
 build() {
-  cd "${srcdir}"/$pkgname-$pkgver
+  cd ${pkgname}-${pkgver}
 
   ./configure --prefix=/usr
   make
@@ -33,7 +33,7 @@
 }
 
 package() {
-  cd "${srcdir}"/$pkgname-$pkgver
+  cd ${pkgname}-${pkgver}
 
   make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list