diff options
author | Lassulus <lassulus@googlemail.com> | 2012-12-07 16:59:41 +0100 |
---|---|---|
committer | Lassulus <lassulus@googlemail.com> | 2012-12-07 16:59:41 +0100 |
commit | 03aa90588dd73ba93c0cccd25300869aac1a4a02 (patch) | |
tree | b1be032a47cd023db42b79730fdfd4e72dbb5db5 | |
parent | 24ba220c53ef38e74d6c68b92c13b28ece999269 (diff) | |
parent | 4b04e2c71f42c78a6a69dca085c4a2912f3d39d3 (diff) |
Merge branch 'master' of github.com:krebscode/painload
-rwxr-xr-x | retiolum/bin/create-host-tar | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/retiolum/bin/create-host-tar b/retiolum/bin/create-host-tar index 344109d1..305f174c 100755 --- a/retiolum/bin/create-host-tar +++ b/retiolum/bin/create-host-tar @@ -1,8 +1,8 @@ #!/bin/sh set -xeuf WEBDIR=${WEBDIR:-/srv/http/pub/retiolum} -HOSTFILE=$WEBDIR/hosts.tar +HOSTFILE=$WEBDIR/hosts.tar.gz cd $(dirname $(readlink -f $0)) #rm $HOSTFILE -tar cf $HOSTFILE -C ../hosts . +tar czf $HOSTFILE -C ../hosts . chmod a+rx $HOSTFILE |