current GNUmakefile.in,1.255,1.256

Fabian Keil <[email protected]> Mon, 20 Feb 2017 13:46:28 +0000
Newsgroups gmane.comp.web.privoxy.cvs
Message-ID <[email protected]>
Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15360

Modified Files:
	GNUmakefile.in 
Log Message:
Let rsync take care of the permissions on the remote side

... instead of clowning around with find after rsync is done.


Index: GNUmakefile.in
===================================================================
RCS file: /cvsroot/ijbswa/current/GNUmakefile.in,v
retrieving revision 1.255
retrieving revision 1.256
diff -C2 -d -r1.255 -r1.256
*** GNUmakefile.in	12 Jan 2017 14:19:13 -0000	1.255
--- GNUmakefile.in	20 Feb 2017 13:46:25 -0000	1.256
***************
*** 145,149 ****
  DOC_STATUS = @DOC_STATUS@
  TIDY       = tidy -modify -indent -wrap 78 --tidy-mark no
! RSYNC	   = rsync -av -c
  
  # Program to do LF->CRLF
--- 145,149 ----
  DOC_STATUS = @DOC_STATUS@
  TIDY       = tidy -modify -indent -wrap 78 --tidy-mark no
! RSYNC	   = rsync -av -c --chmod=D755,F644
  
  # Program to do LF->CRLF
***************
*** 628,652 ****
            $(TAR) cf - $$upload | $(SSH) shell.sourceforge.net 'cd $(WWW_ROOT)/htdocs/; tar xvm 2>&1 | grep -v timestamp'
  
- 	@$(ECHO) Fixing permissions
- 	@$(SSH) shell.sourceforge.net 'chmod -R 775 $(WWW_ROOT)/htdocs 2>/dev/null; true'
- 	@$(SSH) shell.sourceforge.net 'find $(WWW_ROOT)/htdocs/ -type f | xargs chmod 664 2>/dev/null; true'
- 
  web-actions:
  	@$(ECHO) Updating the actions on the webserver ...
  	@$(RSYNC) doc/webserver/actions/*.php shell.sourceforge.net:$(WWW_ROOT)/htdocs/actions
- 	@$(ECHO) Enforcing reasonable permissions ...
- 	@$(SSH) shell.sourceforge.net 'find $(WWW_ROOT)/htdocs/actions/ -type f | xargs chmod 664 2>/dev/null'
  
  web-faq:
  	@$(ECHO) Updating the FAQ on the webserver ...
  	@$(RSYNC) doc/webserver/faq/*.html shell.sourceforge.net:$(WWW_ROOT)/htdocs/faq
- 	@$(ECHO) Enforcing reasonable permissions ...
- 	@$(SSH) shell.sourceforge.net 'find $(WWW_ROOT)/htdocs/faq/ -type f | xargs chmod 664 2>/dev/null'
  
  web-user-manual:
  	@$(ECHO) Updating the user manual on the webserver (do not use in case of version changes) ...
  	@$(RSYNC) doc/webserver/user-manual/*.html shell.sourceforge.net:$(WWW_ROOT)/htdocs/user-manual/
- 	@$(ECHO) Enforcing reasonable permissions ...
- 	@$(SSH) shell.sourceforge.net 'find $(WWW_ROOT)/htdocs/user-manual/ -type f | xargs chmod 664 2>/dev/null'
  
  #############################################################################
--- 628,642 ----


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot