diff options
author | 2017-06-24 11:49:37 -0400 | |
---|---|---|
committer | 2017-06-24 11:49:37 -0400 | |
commit | d6ea987caed84a9f36030a5a1516df7c6186362d (patch) | |
tree | 265dda9cfb43a78542e4b2ccac382a8a5583bc56 /kubernetes/config/docker/init/make-tar.sh | |
parent | 43d96ac929c93d0aa2a55d860e0425a39118f7b4 (diff) |
onap on kubernetes source files
Change-Id: I4de34baf90979651223a28323010deb7aef21946
Signed-off-by: Mandeep Khinda <Mandeep.Khinda@amdocs.com>
Diffstat (limited to 'kubernetes/config/docker/init/make-tar.sh')
-rwxr-xr-x | kubernetes/config/docker/init/make-tar.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/kubernetes/config/docker/init/make-tar.sh b/kubernetes/config/docker/init/make-tar.sh new file mode 100755 index 0000000000..7ec08ceee0 --- /dev/null +++ b/kubernetes/config/docker/init/make-tar.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +cd src/config + +TAR=/usr/local/opt/gnu-tar/libexec/gnubin/tar +OS="`uname`" +case $OS in + 'Linux') + OS='Linux' + TAR=/usr/bin/tar + ;; + 'Darwin') + OS='Mac' + ;; + *) ;; +esac + +$TAR -cvzf ../../onap-cfg.tar.gz * |