tgitzone-shell git - gitzone - git-based zone management tool for static and dynamic domains HTML git clone https://git.parazyd.org/gitzone DIR Log DIR Files DIR Refs --- DIR commit 1ce40494640049c503499fe8711e071f3bad6ac5 DIR parent 62cab6e61b084d5f51a167709cbfb621118ef94a HTML Author: tg(x) <*@tg-x.net> Date: Sun, 13 Feb 2011 16:25:21 +0100 gitzone-shell git Diffstat: M bin/gitzone | 2 +- M bin/gitzone-shell | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) --- DIR diff --git a/bin/gitzone b/bin/gitzone t@@ -209,7 +209,7 @@ sub install_zones { my ($zone, $dir) = fileparse $file; $dir = substr $dir, 0, -1; my $view = $zones->{$user}->{$dir}->{$zone}; - print "$zone: ", `$rndc reload '$zone' $class $_` for @$view; + print "$_/$zone: ", `$rndc reload '$zone' $class $_` for @$view; } unlink $list_file; DIR diff --git a/bin/gitzone-shell b/bin/gitzone-shell t@@ -6,9 +6,9 @@ repo='zones' allow_key_mgmt_file='.ssh/authorized_keys_edit_allowed' # paths -git_shell=/usr/bin/git-shell -gitzone=/usr/bin/gitzone config=/etc/gitzone.conf +gitzone=/usr/bin/gitzone +git=/usr/bin/git grep=/bin/grep function error { t@@ -20,9 +20,9 @@ if [ "$1" != "-c" ]; then error; fi cmd=$2 if [[ "$cmd" == git-upload-pack* ]]; then - $git_shell -c "git-upload-pack '$repo'" + $git upload-pack $repo elif [[ "$cmd" == git-receive-pack* ]]; then - $git_shell -c "git-receive-pack '$repo'" + $git receive-pack $repo elif [[ "$cmd" == update-record* ]]; then $gitzone $config update-record "$cmd" elif [ -f $allow_key_mgmt_file ]; then