summaryrefslogtreecommitdiffstats
path: root/retiolum/bin/create-host-tar
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2012-12-07 22:43:30 +0100
committermakefu <github@syntax-fehler.de>2012-12-07 22:43:30 +0100
commitb52d35020351cf03c55b9561746e0874e1e13e9d (patch)
treeb97bf943ac9e042656247a5fc5f9fb72030c867f /retiolum/bin/create-host-tar
parentad09d521243d9275d2af99b5aa5b67b9f79d3a77 (diff)
parenta417442f720a1590fc16af93af421a06a00200ea (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