[Pkg-octave-commit] r1105 - octave/trunk/debian

Rafael Laboissiere rafael at alioth.debian.org
Tue Dec 18 14:32:45 UTC 2007


Author: rafael
Date: 2007-12-18 14:32:45 +0000 (Tue, 18 Dec 2007)
New Revision: 1105

Modified:
   octave/trunk/debian/rules
Log:
Make sure that commands do not fail if some calls to "test" fail

Modified: octave/trunk/debian/rules
===================================================================
--- octave/trunk/debian/rules	2007-12-18 14:30:57 UTC (rev 1104)
+++ octave/trunk/debian/rules	2007-12-18 14:32:45 UTC (rev 1105)
@@ -127,7 +127,7 @@
 
 .PHONY: save-files
 save-files:
-	for f in $(savefiles) $(texifiles) ; do		\
+	-for f in $(savefiles) $(texifiles) ; do	\
 		test -f $$f && cp $$f $$f-save ;	\
 	done
 
@@ -138,7 +138,7 @@
 	[ -f autogen.sh ] &&  ./autogen.sh && chmod 0755 configure
 
 	# Patch desktop file such that the referenced command exists
-	test -f examples/octave.desktop.in				\
+	-test -f examples/octave.desktop.in				\
 		&& perl -pi -e 's:/bin/octave:/bin/octave-$(version):'	\
 			examples/octave.desktop.in
 




More information about the Pkg-octave-commit mailing list