[Pkg-octave-commit] [SCM] octave-linear-algebra branch, master, updated. 8a3d736509afb53d5e4303486df3c00da04deff3
Rafael Laboissiere
rafael at debian.org
Thu May 21 09:29:11 UTC 2009
The following commit has been merged in the master branch:
commit 8a3d736509afb53d5e4303486df3c00da04deff3
Author: Rafael Laboissiere <rafael at debian.org>
Date: Thu May 21 11:28:36 2009 +0200
Check files before changing permission
This will allow us to remove this code if/when the problem is fixed upstream.
diff --git a/debian/rules b/debian/rules
index 1fda443..144cc02 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,16 @@
include /usr/share/cdbs/1/class/octave-pkg.mk
+wrongperm = cartprod.m
+pkgdir = $(CURDIR)/debian/octave-linear-algebra/usr/share/octave/packages/*/linear-algebra-*
+
install/octave-linear-algebra::
- # Fix wrong permission of .* script
- chmod -x debian/octave-linear-algebra/usr/share/octave/packages/*/linear-algebra-*/cartprod.m
+ # 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
clean::
rm -f inst/test_gsvd.m
--
octave-linear-algebra
More information about the Pkg-octave-commit
mailing list