From 388f75b83c44259278793d4faebb4c14c36d5c6f Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Mon, 14 Mar 2016 09:25:40 -0400 Subject: Allow origin version to be passed in as an argument so we can continue syncing v1.1 content --- roles/openshift_examples/examples-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/openshift_examples/examples-sync.sh') diff --git a/roles/openshift_examples/examples-sync.sh b/roles/openshift_examples/examples-sync.sh index 22cef303b..6108a1485 100755 --- a/roles/openshift_examples/examples-sync.sh +++ b/roles/openshift_examples/examples-sync.sh @@ -6,7 +6,7 @@ # This script should be run from openshift-ansible/roles/openshift_examples XPAAS_VERSION=ose-v1.2.0-1 -ORIGIN_VERSION=v1.2 +ORIGIN_VERSION=${1:-v1.2} EXAMPLES_BASE=$(pwd)/files/examples/${ORIGIN_VERSION} find ${EXAMPLES_BASE} -name '*.json' -delete find ${EXAMPLES_BASE} -name '*.yaml' -delete -- cgit v1.2.1