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 <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
©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.