diff options
author | makefu <github@syntax-fehler.de> | 2012-12-07 22:43:30 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2012-12-07 22:43:30 +0100 |
commit | b52d35020351cf03c55b9561746e0874e1e13e9d (patch) | |
tree | b97bf943ac9e042656247a5fc5f9fb72030c867f /retiolum/bin/create-host-tar | |
parent | ad09d521243d9275d2af99b5aa5b67b9f79d3a77 (diff) | |
parent | a417442f720a1590fc16af93af421a06a00200ea (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'retiolum/bin/create-host-tar')
-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 |