Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
onap on kubernetes source files
[oom.git]
/
kubernetes
/
config
/
docker
/
init
/
make-tar.sh
diff --git a/kubernetes/config/docker/init/make-tar.sh
b/kubernetes/config/docker/init/make-tar.sh
new file mode 100755
(executable)
index 0000000..
7ec08ce
--- /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 *