From: Russ Allbery Date: Thu, 15 Jul 2010 00:30:11 +0000 (-0700) Subject: Fix .version generation for make libafs_tree X-Git-Tag: openafs-devel-1_5_76~104 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=674ec768828994b90dc14bf8487e04de5bdf7295 Fix .version generation for make libafs_tree The first argument to the git-version script should be the root directory of the tree, not the .version file in that directory. Change-Id: I145d360dc79132fc1474e94893c999b35774d874 Reviewed-on: http://gerrit.openafs.org/2433 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/config/make_libafs_tree.pl b/src/config/make_libafs_tree.pl index 05e1eb8..6202c7f 100755 --- a/src/config/make_libafs_tree.pl +++ b/src/config/make_libafs_tree.pl @@ -76,7 +76,7 @@ finddepth(\&find_libafsdep, $projdir); ©it("$projdir/src/libafs/MakefileProto.$ostype.in", "$treedir/src/libafs/MakefileProto.in"); -$showonly || system("$projdir/build-tools/git-version $projdir/.version > $treedir/.version"); +$showonly || system("$projdir/build-tools/git-version $projdir > $treedir/.version"); # We need to regenerate this to support building amd64 kernels from a # libafs_tree built on i386.