Solved Buildworld fail (9 stable i386)



Active Member

Reaction score: 8
Messages: 133

Thans a lot!

The patch is general solution look like.
Not only git, but also other one can fix.

kpa said:
I ran into the same issue when I had a .git directory in the / directory. Try the patch in my PR:

The problem is that the script is broken. It somehow works for SVN but the GIT revision detection breaks because the is sourced instead of executed, resulting in $0 being set to /bin/sh instead of the path to and the GIT revision detection ends up finding the ./git directory instead of the intended /usr/src/.git.