diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-03-14 09:25:40 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2016-03-14 09:27:38 -0400 |
commit | 388f75b83c44259278793d4faebb4c14c36d5c6f (patch) | |
tree | a72f812bd18b8808351fae300ba9c7077333aec6 | |
parent | 1b260a89cda950f919bfd62df17c786c3578bdfe (diff) | |
download | openshift-388f75b83c44259278793d4faebb4c14c36d5c6f.tar.gz openshift-388f75b83c44259278793d4faebb4c14c36d5c6f.tar.bz2 openshift-388f75b83c44259278793d4faebb4c14c36d5c6f.tar.xz openshift-388f75b83c44259278793d4faebb4c14c36d5c6f.zip |
Allow origin version to be passed in as an argument
so we can continue syncing v1.1 content
-rwxr-xr-x | roles/openshift_examples/examples-sync.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |