From: Tim Abbott Date: Mon, 3 Aug 2009 01:24:02 +0000 (+0000) Subject: Make transform scripts as executable before attempting to execute them (Closes: #528995). X-Git-Tag: 4.10~1 X-Git-Url: http://andersk.mit.edu/gitweb/config-package-dev.git/commitdiff_plain/62889cea6e056825d15f889118593124fc3f19b7 Make transform scripts as executable before attempting to execute them (Closes: #528995). git-svn-id: svn+ssh://svn.mit.edu/athena/trunk/debathena/debathena/config-package-dev@23947 728af825-273c-0410-89f9-f7d3b574a069 --- diff --git a/debian/changelog b/debian/changelog index f7f2baa..0d9ca19 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +config-package-dev (4.10) unstable; urgency=low + + * Make transform scripts as executable before attempting to execute them + (Closes: #528995). + + -- Tim Abbott Sun, 02 Aug 2009 19:48:33 -0400 + config-package-dev (4.9) unstable; urgency=low [ Tim Abbott ] diff --git a/transform-files.mk b/transform-files.mk index c4a96d8..284a1dd 100644 --- a/transform-files.mk +++ b/transform-files.mk @@ -36,6 +36,7 @@ common-build-arch common-build-indep:: $(foreach file,$(DEB_TRANSFORM_FILES),$(c $(call debian_transform_files,%): $(call debian_check_files,%) mkdir -p $(@D) + chmod +x debian/transform_$(notdir $(call undebian_transform_files,$@)) $(if $(DEB_TRANSFORM_SCRIPT_$(call undebian_transform_files,$@)), \ $(DEB_TRANSFORM_SCRIPT_$(call undebian_transform_files,$@)), \ debian/transform_$(notdir $(call undebian_transform_files,$@))) < $< > $@