$OpenBSD: patch-install,v 1.1.1.1 2013/04/22 06:48:25 jasper Exp $
--- install.orig	Wed Mar 27 23:22:56 2013
+++ install	Mon Apr 22 08:46:21 2013
@@ -61,11 +61,11 @@ for my $d ($ln, $to) {
 }
 
 chdir($ENV{GL_BINDIR});
-my $version = `git describe --tags --long --dirty=-dt`;
+my $version = "${VERSION}";
 
 if ($to) {
     _mkdir($to);
-    system("cp -a * $to");
+    system("umask 022 && pax -rw . $to");
     _print( "$to/VERSION", $version );
 } elsif ($ln) {
     ln_sf( $ENV{GL_BINDIR}, "gitolite", $ln );
