VOL-4926 - godownloader no longer available.
makefiles/commands/kail.mk
--------------------------
o Augment installation path, default is /usr/local/bin (revisit).
o Added a conditional default for jenkins to use the WORKSPACE directory.
Change-Id: I2c795669ec62861793949da7570575a80fe3e68a
diff --git a/VERSION b/VERSION
index bea85d2..9f32908 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.11.10
+2.11.10-dev1
diff --git a/makefiles/commands/kail.mk b/makefiles/commands/kail.mk
index 5cb7e6a..ff6691d 100644
--- a/makefiles/commands/kail.mk
+++ b/makefiles/commands/kail.mk
@@ -27,12 +27,17 @@
# -----------------------------------------------------------------------
# Install the 'kail' tool if needed: https://github.com/boz/kail
+# o WORKSPACE - jenkins aware
+# o Default to /usr/local/bin/kail
+# + revisit this, system directories should not be a default path.
+# + requires sudo and potential exists for overwrite conflict.
# -----------------------------------------------------------------------
-KAIL_PATH ?= /usr/local/bin
+KAIL_PATH ?= $(if $(WORKSPACE),$(WORKSPACE)/bin,/usr/local/bin)
kail-cmd ?= $(KAIL_PATH)/kail
$(kail-cmd):
etc/godownloader.sh -b .
rsync -v --checksum kail "$@"
+ $@ version
$(RM) kail
.PHONY: kail