[Pkg-octave-commit] [SCM] octave-communications branch, master, updated. 70ca29bea376fbc1971653436a83293c72f9ed96

Ólafur Jens Śigurðsson ojsbug at gmail.com
Fri Jun 5 10:08:19 UTC 2009


The following commit has been merged in the master branch:
commit 70ca29bea376fbc1971653436a83293c72f9ed96
Author: Ólafur Jens Śigurðsson <ojsbug at gmail.com>
Date:   Fri Jun 5 01:11:05 2009 +0000

    Added some fail checks to the rules file

diff --git a/debian/changelog b/debian/changelog
index 43accc2..52ff02c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+octave-communications (1.0.9-2) UNRELEASED; urgency=low
+
+  * Added some fail check to the rules file.
+
+ -- Ólafur Jens Sigurðsson <ojsbug at gmail.com>  Fri, 05 Jun 2009 01:05:31 +0000
+
 octave-communications (1.0.9-1) unstable; urgency=low
 
   * New upstream release
diff --git a/debian/rules b/debian/rules
index dc0cd91..7f7fb12 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,12 +21,12 @@ install/octave-$(pkg)-common:: install/octave-$(pkg)
 	# 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 ;	\
+		set -e && [ -x $(pkgdir)/$$f ] && chmod -x $(pkgdir)/$$f ;	\
 	done
 
 install/octave-$(pkg)::
 	# Remove unneeded doc sources
-	( cd $(archshr)/doc/octave-$(pkg) ;		\
+	( cd $(archshr)/doc/octave-$(pkg) &&		\
 	  for e in txi texi ; do  			\
-		[ -f comms.$$e ] && rm comms.$$e ;	\
+		set -e [ -f comms.$$e ] && rm comms.$$e ;	\
 	  done )

-- 
octave-communications



More information about the Pkg-octave-commit mailing list