Project

General

Profile

« Previous | Next » 

Revision 7037

backups/Makefile: Synchronization: %/download: Download the .md5 file first, so that the user is prompted right away for their password rather than after the main file has finished downloading, by which time the password prompt has timed out

View differences:

backups/Makefile
97 97
	$(rsyncBackups) $(local) $(remote)
98 98

  
99 99
%/download: _always
100
	-$(if $(filter %.md5,$*),,$(MAKE) $*.md5/download)
100 101
	$(rsync) $(remote)$* $(local)$*
101
	-$(if $(filter %.md5,$*),,$(MAKE) $*.md5/download)
102 102
# ignore errors if $*.md5 does not exist

Also available in: Unified diff