[Pkg-octave-commit] rev 193 - trunk/www

Rafael Laboissiere pkg-octave-devel@lists.alioth.debian.org
Tue, 12 Apr 2005 15:27:37 +0000


Author: rafael
Date: 2005-04-12 15:27:36 +0000 (Tue, 12 Apr 2005)
New Revision: 193

Modified:
   trunk/www/Makefile
Log:
Avoid error messages when setting access permission on remote files.  Also,
do not stop make if the ssh command fails.


Modified: trunk/www/Makefile
===================================================================
--- trunk/www/Makefile	2005-04-12 08:05:28 UTC (rev 192)
+++ trunk/www/Makefile	2005-04-12 15:27:36 UTC (rev 193)
@@ -30,7 +30,9 @@
 	@ssh $(USER)@$(HOST) 'cd $(DIR); tar xfz $(TARBALL)'
 	@echo done
 	@echo -n "Setting group acces of www files... "
-	@ssh $(USER)@$(HOST) 'cd $(DIR); chgrp -R $(GROUP) .; chmod -R g=u .'
+	-@ssh $(USER)@$(HOST)						\
+		'cd $(DIR); chgrp -R $(GROUP) .; chmod -R g=u .'	\
+		> /dev/null 2>&1 
 	@echo done
 	@echo -n "Removing remote tarball... "
 	@ssh $(USER)@$(HOST) rm -f $(DIR)$(TARBALL)