From 674ec768828994b90dc14bf8487e04de5bdf7295 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 14 Jul 2010 17:30:11 -0700 Subject: [PATCH] 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 --- src/config/make_libafs_tree.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/make_libafs_tree.pl b/src/config/make_libafs_tree.pl index 05e1eb8b1..6202c7f27 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. -- 2.39.5