aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl-setup')
-rwxr-xr-xsrc/gl-setup4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gl-setup b/src/gl-setup
index 7bf8881..b00560a 100755
--- a/src/gl-setup
+++ b/src/gl-setup
@@ -110,13 +110,13 @@ GL_ADMINDIR=`get_rc_val GL_ADMINDIR`
gl-install -q
[ -f $GL_ADMINDIR/conf/gitolite.conf ] || {
- cat <<EOF | cut -c9- > $GL_ADMINDIR/conf/gitolite.conf
+ echo "
repo gitolite-admin
RW+ = $admin_name
repo testing
RW+ = @all
-EOF
+ " | cut -c9- > $GL_ADMINDIR/conf/gitolite.conf
}
[ -n "$pubkey_file" ] && cp $pubkey_file $GL_ADMINDIR/keydir