aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/config/docker/init/make-tar.sh
blob: 7ec08ceee0e1aa8414dd5d593bf908b2520c29e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 *