[Pkg-octave-commit] rev 192 - trunk/www
Rafael Laboissiere
pkg-octave-devel@lists.alioth.debian.org
Tue, 12 Apr 2005 08:05:29 +0000
Author: rafael
Date: 2005-04-12 08:05:28 +0000 (Tue, 12 Apr 2005)
New Revision: 192
Modified:
trunk/www/Makefile
Log:
Give group access to the whole htdocs directory, recursively. This will fix
the problem of updating the icons/ directory in the web site.
Modified: trunk/www/Makefile
===================================================================
--- trunk/www/Makefile 2005-04-11 13:46:45 UTC (rev 191)
+++ trunk/www/Makefile 2005-04-12 08:05:28 UTC (rev 192)
@@ -29,9 +29,8 @@
@echo -n "Installing remote tarball... "
@ssh $(USER)@$(HOST) 'cd $(DIR); tar xfz $(TARBALL)'
@echo done
- @echo -n "Setting group access of www files... "
- @ssh $(USER)@$(HOST) \
- 'cd $(DIR); for i in `tar tfz $(TARBALL)`; do chgrp $(GROUP) $$i; chmod g=u $$i; done'
+ @echo -n "Setting group acces of www files... "
+ @ssh $(USER)@$(HOST) 'cd $(DIR); chgrp -R $(GROUP) .; chmod -R g=u .'
@echo done
@echo -n "Removing remote tarball... "
@ssh $(USER)@$(HOST) rm -f $(DIR)$(TARBALL)