make-rules/prep-git.mk
changeset 5682 94c0ca64c022
parent 5438 c068f8c677e8
child 5833 c1e66c53301d
--- a/make-rules/prep-git.mk	Wed Mar 30 10:16:56 2016 -0700
+++ b/make-rules/prep-git.mk	Wed Mar 30 13:33:31 2016 -0700
@@ -18,6 +18,8 @@
 #
 # CDDL HEADER END
 #
+
+#
 # Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 
@@ -47,6 +49,8 @@
 # If the source is github attempt to generate an archive url
 ifeq (github,$(findstring github,$(GIT_REPO$(1))))
   COMPONENT_ARCHIVE_URL$(1) ?= $(GIT_REPO$(1))/tarball/$(GIT_BRANCH$(1))
+else
+  COMPONENT_ARCHIVE_SRC$(1) = git
 endif
 
 CLEAN_PATHS += $$(COMPONENT_SRC$(1))