a couple of very minor oopsies

(1) c5f342a forgot authkeys can have blank lines also

(2) f0cedeb ended gl-system-install on a non-0 ret code

both caught by matthewtdawson at gmail
This commit is contained in:
Sitaram Chamarty 2011-11-17 18:49:24 +05:30
parent 66634d687d
commit ab9d0d2f57
2 changed files with 4 additions and 2 deletions

View file

@ -108,8 +108,10 @@ gl-setup is not in your \$PATH.
$path_advice" $path_advice"
which=`dirname $which` which=`dirname $which`
[ "$which" != "$gl_bin_dir" ] && die " ***** WARNING ***** [ "$which" = "$gl_bin_dir" ] || die " ***** WARNING *****
$which precedes $gl_bin_dir in your \$PATH, $which precedes $gl_bin_dir in your \$PATH,
and it *also* contains gl-setup. This is almost certainly going to confuse and it *also* contains gl-setup. This is almost certainly going to confuse
you or me later. you or me later.
$path_advice" $path_advice"
exit 0

View file

@ -119,7 +119,7 @@ sub ak_comment {
$in_gl_section = 1 if /^# gitolite start/; $in_gl_section = 1 if /^# gitolite start/;
$in_gl_section = 0 if /^# gitolite end/; $in_gl_section = 0 if /^# gitolite end/;
die "gitosis? what's that?\n" if /^#.*gitosis/; die "gitosis? what's that?\n" if /^#.*gitosis/;
return /^\s*#/; return /^\s*(#|$)/;
} }
sub fprint { sub fprint {