diff --git a/git-cvsserver.perl b/git-cvsserver.perl index ffdec89543..e9f3037df3 100755 --- a/git-cvsserver.perl +++ b/git-cvsserver.perl @@ -2661,9 +2661,12 @@ sub descramble ); my ($str) = @_; - # This should never happen, the same password format (A) bas been + # This should never happen, the same password format (A) has been # used by CVS since the beginning of time - die "invalid password format $1" unless substr($str, 0, 1) eq 'A'; + { + my $fmt = substr($str, 0, 1); + die "invalid password format `$fmt'" unless $fmt eq 'A'; + } my @str = unpack "C*", substr($str, 1); my $ret = join '', map { chr $SHIFTS[$_] } @str; diff --git a/gitweb/Makefile b/gitweb/Makefile index d2584fedd8..2fb7c2d77b 100644 --- a/gitweb/Makefile +++ b/gitweb/Makefile @@ -103,7 +103,7 @@ GITWEB_FILES += static/gitweb.min.css GITWEB_CSS = static/gitweb.min.css all:: static/gitweb.min.css static/gitweb.min.css: static/gitweb.css GITWEB-BUILD-OPTIONS - $(QUIET_GEN)$(CSSMIN) <$ >$@ + $(QUIET_GEN)$(CSSMIN) <$< >$@ else GITWEB_FILES += static/gitweb.css endif