[csw-devel] SF.net SVN: gar:[19586] csw/mgar/gar/v2/gar.lib.mk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Nov 9 22:53:17 CET 2012


Revision: 19586
          http://gar.svn.sourceforge.net/gar/?rev=19586&view=rev
Author:   dmichelsen
Date:     2012-11-09 21:53:16 +0000 (Fri, 09 Nov 2012)
Log Message:
-----------
mGAR v2: Complain if MASTER_SITES does not end in a slash

Modified Paths:
--------------
    csw/mgar/gar/v2/gar.lib.mk

Modified: csw/mgar/gar/v2/gar.lib.mk
===================================================================
--- csw/mgar/gar/v2/gar.lib.mk	2012-11-09 21:42:20 UTC (rev 19585)
+++ csw/mgar/gar/v2/gar.lib.mk	2012-11-09 21:53:16 UTC (rev 19586)
@@ -31,6 +31,8 @@
 # add these 'dynamic script' targets to our fetch list
 DYNURLS := $(foreach DYN,$(DYNSCRIPTS),dynscr://$(DYN))
 
+$(foreach M,$(MASTER_SITES),$(if $(filter %/,$M),,$(error MASTER_SITES must contain only URLs ending in a / wheres this did not: $M)))
+
 URLS := $(foreach SITE,$(FILE_SITES) $(MASTER_SITES),$(addprefix $(SITE),$(DISTFILES))) $(foreach SITE,$(FILE_SITES) $(PATCH_SITES) $(MASTER_SITES),$(addprefix $(SITE),$(ALLFILES_PATCHFILES))) $(DYNURLS)
 
 define gitsubst

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list