summaryrefslogtreecommitdiffstats
path: root/retiolum/bin/create-host-tar
diff options
context:
space:
mode:
authorLassulus <lassulus@googlemail.com>2012-12-07 16:59:41 +0100
committerLassulus <lassulus@googlemail.com>2012-12-07 16:59:41 +0100
commit03aa90588dd73ba93c0cccd25300869aac1a4a02 (patch)
treeb1be032a47cd023db42b79730fdfd4e72dbb5db5 /retiolum/bin/create-host-tar
parent24ba220c53ef38e74d6c68b92c13b28ece999269 (diff)
parent4b04e2c71f42c78a6a69dca085c4a2912f3d39d3 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'retiolum/bin/create-host-tar')
-rwxr-xr-xretiolum/bin/create-host-tar4
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