From 064892ffee482940045a68bd7015a9f49b6b0356 Mon Sep 17 00:00:00 2001
From: Matthew Heguy <plague006@gmail.com>
Date: Wed, 20 Apr 2016 14:30:13 -0400
Subject: [PATCH] Update ksp_version defaults and add overrides for 1.1.X
 versions

---
 build.sh | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/build.sh b/build.sh
index 1a5841fc06..492ced6120 100755
--- a/build.sh
+++ b/build.sh
@@ -2,7 +2,7 @@
 set -e
 
 # Default flags.
-KSP_VERSION_DEFAULT="1.0.5"
+KSP_VERSION_DEFAULT="1.1.0"
 KSP_NAME_DEFAULT="dummy"
 
 # Locations of CKAN and validation.
@@ -42,23 +42,31 @@ create_dummy_ksp () {
     # TODO: Manual hack, a better way to handle this kind of identifiers may be needed.
     case $KSP_VERSION in
     "0.23")
-        echo "Overidding '0.23' with '0.23.0'"
+        echo "Overriding '0.23' with '0.23.0'"
         KSP_VERSION="0.23.0"
         ;;
     "0.25")
-        echo "Overidding '0.25' with '0.25.0'"
+        echo "Overriding '0.25' with '0.25.0'"
         KSP_VERSION="0.25.0"
         ;;
     "0.90")
-        echo "Overiding '0.90' with '0.90.0'"
+        echo "Overriding '0.90' with '0.90.0'"
         KSP_VERSION="0.90.0"
         ;;
     "1.0")
-        echo "Overidding '1.0' with '$KSP_VERSION_DEFAULT'"
-        KSP_VERSION=$KSP_VERSION_DEFAULT
+        echo "Overriding '1.0' with '1.0.5'"
+        KSP_VERSION="1.0.5"
         ;;
     "1.0.99")
-        echo "Overidding '1.0.99' with '$KSP_VERSION_DEFAULT'"
+        echo "Overriding '1.0.99' with '1.0.5'"
+        KSP_VERSION="1.0.5"
+        ;;
+    "1.1")
+        echo "Overriding '1.1' with '$KSP_VERSION_DEFAULT'"
+        KSP_VERSION=$KSP_VERSION_DEFAULT
+        ;;
+    "1.1.99")
+        echo "Overriding '1.1.99' with '$KSP_VERSION_DEFAULT'"
         KSP_VERSION=$KSP_VERSION_DEFAULT
         ;;
     "any")