changeset 5864:9b6d49345428

Don't attempt to build an empty package name.
author Graham Percival <graham@percival-music.ca>
date Thu, 03 Dec 2009 01:39:56 +0000
parents cc62721d39a3
children 16d8fde8bc5c
files gub.make
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gub.make	Wed Dec 09 21:46:21 2009 +0100
+++ b/gub.make	Thu Dec 03 01:39:56 2009 +0000
@@ -49,7 +49,9 @@
 .PHONY: $(PLATFORMS)
 
 download:
+ifdef $(BUILD_PACKAGE)
 	$(call INVOKE_GUB,$(BUILD_PLATFORM)) --download-only $(BUILD_PACKAGE) $(OTHER_PLATFORMS:%=%::$(BUILD_PACKAGE))
+endif
 
 $(PLATFORMS):
 	$(call BUILD,$@,$(BUILD_PACKAGE),$(INSTALL_PACKAGE))