[Python-modules-commits] r7814 - in packages/python-django/trunk/debian (changelog rules)

lamby at users.alioth.debian.org lamby at users.alioth.debian.org
Sun Mar 8 06:07:26 UTC 2009


    Date: Sunday, March 8, 2009 @ 06:07:25
  Author: lamby
Revision: 7814

Remove bashisms from binary-post-install.

Modified:
  packages/python-django/trunk/debian/changelog
  packages/python-django/trunk/debian/rules

Modified: packages/python-django/trunk/debian/changelog
===================================================================
--- packages/python-django/trunk/debian/changelog	2009-03-08 06:07:23 UTC (rev 7813)
+++ packages/python-django/trunk/debian/changelog	2009-03-08 06:07:25 UTC (rev 7814)
@@ -7,6 +7,7 @@
   * Remove repeated 'Priority' line in binary package stanza.
   * Update crufty long and short descriptions.
   * Add ${misc:Depends} in binary stanza for debhelper-using package.
+  * Remove bashisms from binary-post-install.
 
  -- Chris Lamb <lamby at debian.org>  Wed, 25 Feb 2009 00:50:50 +0000
 

Modified: packages/python-django/trunk/debian/rules
===================================================================
--- packages/python-django/trunk/debian/rules	2009-03-08 06:07:23 UTC (rev 7813)
+++ packages/python-django/trunk/debian/rules	2009-03-08 06:07:25 UTC (rev 7814)
@@ -20,8 +20,8 @@
 	# Ensure executability of some scripts that are copied to projects
 	# (or used within projects)
 	chmod 755 debian/python-django/usr/share/python-support/python-django/django/conf/project_template/manage.py
-	chmod 755 debian/python-django/usr/share/python-support/python-django/django/bin/[^_]*.py
-	chmod 755 debian/python-django/usr/share/python-support/python-django/django/bin/profiling/[^_]*.py
+	find debian/python-django/usr/share/python-support/python-django/django/bin/ \
+		-name '*.py' -not -name '__init__.py' -print0 | xargs -0r chmod 755
 	# Remove execute rights from stuff that shouldn't have them
 	chmod 644 debian/python-django/etc/bash_completion.d/django_bash_completion
 	# Create convenience symlink




More information about the Python-modules-commits mailing list