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

Pierre Schmitz pierre at archlinux.org
Thu Jul 30 12:29:58 UTC 2009


    Date: Thursday, July 30, 2009 @ 08:29:57
  Author: pierre
Revision: 48086

simplify and make it compatible with spaces in file names

Modified:
  oxygen-icons/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-07-30 11:25:56 UTC (rev 48085)
+++ PKGBUILD	2009-07-30 12:29:57 UTC (rev 48086)
@@ -32,7 +32,6 @@
 package_oxygen-icons-svg() {
 	pkgdesc="The Oxygen Icon Theme (Scalable Vector Graphics)"
 	cd $srcdir/${pkgname}-${pkgver}
-	for i in $(find scalable -type f ! -name '*.sh'); do
-		install -D -m644 "${i}" "${pkgdir}/usr/share/icons/oxygen/${i}"
-	done
+	find scalable -type f ! -name '*.sh' -exec \
+		install -D -m644 "{}" "${pkgdir}/usr/share/icons/oxygen/{}" \;
 }




More information about the arch-commits mailing list