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

Allan McRae allan at archlinux.org
Tue Mar 20 07:11:43 EDT 2012


    Date: Tuesday, March 20, 2012 @ 07:11:43
  Author: allan
Revision: 153900

I prefer no quotes in my PKGBUILDs

Modified:
  bash/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-20 10:01:05 UTC (rev 153899)
+++ PKGBUILD	2012-03-20 11:11:43 UTC (rev 153900)
@@ -29,7 +29,7 @@
 fi
 
 build() {
-  cd "${srcdir}"/${pkgname}-$_basever
+  cd ${srcdir}/${pkgname}-$_basever
   for (( p=1; p<=$((10#${_patchlevel})); p++ )); do
     msg "applying patch bash${_basever//./}-$(printf "%03d" $p)"
     patch -Np0 -i $srcdir/bash${_basever//./}-$(printf "%03d" $p)
@@ -48,28 +48,28 @@
 }
 
 check() {
-  cd "${srcdir}"/${pkgname}-$_basever
+  cd ${srcdir}/${pkgname}-$_basever
   make check
 }
 
 package() {
-  cd "${srcdir}"/${pkgname}-$_basever
-  make DESTDIR="${pkgdir}" install
+  cd ${srcdir}/${pkgname}-$_basever
+  make DESTDIR=${pkgdir} install
 
   # for now, bash is our default /bin/sh
-  cd "${pkgdir}"/bin
+  cd ${pkgdir}/bin
   ln -s bash sh
 
-  install -dm755 "${pkgdir}"/etc/skel/
+  install -dm755 ${pkgdir}/etc/skel/
   
   # system-wide configuration files
-  install -m644 "${srcdir}"/system.bashrc "${pkgdir}"/etc/bash.bashrc
-  install -m644 "${srcdir}"/system.bash_logout "${pkgdir}"/etc/bash.bash_logout
+  install -m644 ${srcdir}/system.bashrc ${pkgdir}/etc/bash.bashrc
+  install -m644 ${srcdir}/system.bash_logout ${pkgdir}/etc/bash.bash_logout
   
   # user configuration file skeletons
-  install -m644 "${srcdir}"/dot.bashrc "${pkgdir}"/etc/skel/.bashrc
-  install -m644 "${srcdir}"/dot.bash_profile "${pkgdir}"/etc/skel/.bash_profile
-  install -m644 "${srcdir}"/dot.bash_logout "${pkgdir}"/etc/skel/.bash_logout
+  install -m644 ${srcdir}/dot.bashrc ${pkgdir}/etc/skel/.bashrc
+  install -m644 ${srcdir}/dot.bash_profile ${pkgdir}/etc/skel/.bash_profile
+  install -m644 ${srcdir}/dot.bash_logout ${pkgdir}/etc/skel/.bash_logout
 }
 
 md5sums=('3fb927c7c33022f1c327f14a81c0d4b0'



More information about the arch-commits mailing list