[Pkg-openldap-devel] r1397 - openldap/trunk/debian

vorlon at alioth.debian.org vorlon at alioth.debian.org
Sun Oct 9 07:00:05 UTC 2011


Author: vorlon
Date: 2011-10-09 07:00:05 +0000 (Sun, 09 Oct 2011)
New Revision: 1397

Modified:
   openldap/trunk/debian/rules
Log:
why such an elaborate for loop to copy files...?

Modified: openldap/trunk/debian/rules
===================================================================
--- openldap/trunk/debian/rules	2011-10-09 06:38:07 UTC (rev 1396)
+++ openldap/trunk/debian/rules	2011-10-09 07:00:05 UTC (rev 1397)
@@ -66,9 +66,8 @@
 
 	# Copy our stripped schema versions into where upstream expects them.
 	if [ -z "$(DFSG_NONFREE)" ]; then \
-	    set -e; for s in debian/schema/*.schema debian/schema/*.ldif; do \
-	        cp $$s servers/slapd/schema/`basename $$s`; \
-	    done; \
+		cp debian/schema/*.schema debian/schema/*.ldif \
+			servers/slapd/schema/; \
 	fi
 
 	dh_auto_configure -- $(CONFIG)




More information about the Pkg-openldap-devel mailing list