[Pkg-octave-commit] [SCM] octave-signal branch, master, updated. 93a0118e2fe89d77e2287c5dca3cf4493e3a1ffd

Rafael Laboissiere rafael at debian.org
Thu May 21 09:11:15 UTC 2009


The following commit has been merged in the master branch:
commit 93a0118e2fe89d77e2287c5dca3cf4493e3a1ffd
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Thu May 21 11:11:11 2009 +0200

    Fix wrong permission of script sampled2continuous.m

diff --git a/debian/changelog b/debian/changelog
index ef7e38e..39060e8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ octave-signal (1.0.9-1) UNRELEASED; urgency=low
     + (Depends): Add ${misc:Depends}
     + (Vcs-Git, Vcs-Browser): Adjust to new Git repository
   * debian/copyright: Use DEP5 URL in Format-Specification
+  * debian/rules: Fix wrong permission of script sampled2continuous.m
 
  -- Rafael Laboissiere <rafael at debian.org>  Sun, 12 Apr 2009 17:47:25 +0200
 
diff --git a/debian/rules b/debian/rules
index 71fb86c..ae25ddf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,14 @@
 # -*- makefile -*-
 
 include /usr/share/cdbs/1/class/octave-pkg.mk
+
+wrongperm = sampled2continuous.m
+pkgdir = $(CURDIR)/debian/octave-signal/usr/share/octave/packages/*/signal-*
+
+install/octave-signal::
+	# Be sure that the file to be fixed has the wrong permissions.
+	# This will allow us to remove the code below if/when the package
+	# gets fixed upstream.
+	for f in $(wrongperm) ; do					\
+		[ -x $(pkgdir)/$$f ] && chmod -x $(pkgdir)/$$f ;	\
+	done

-- 
octave-signal



More information about the Pkg-octave-commit mailing list