mirror of
https://github.com/snoyberg/keter.git
synced 2024-12-14 17:12:46 +03:00
24 lines
257 B
Bash
24 lines
257 B
Bash
|
#!/bin/bash -ex
|
||
|
|
||
|
pushd `dirname $0`
|
||
|
|
||
|
rm ./*.keter -f
|
||
|
|
||
|
pushd ./foo
|
||
|
tar czfv ../foo.keter *
|
||
|
popd
|
||
|
|
||
|
pushd ./bar
|
||
|
tar czfv ../bar.keter *
|
||
|
popd
|
||
|
|
||
|
pushd ./baz
|
||
|
tar czfv ../baz.keter *
|
||
|
popd
|
||
|
|
||
|
pushd ./qux
|
||
|
tar czfv ../qux.keter *
|
||
|
popd
|
||
|
|
||
|
cp ./*.keter /opt/keter/incoming/
|