Subject: bug#38883: git submodule doesn't work in pure environment with ad-hoc git

From: Danny Milosavljevic <[email-masked]>
Date: Fri, 3 Jan 2020 01:44:55 +0100

/gnu/store/kyva0irr3khr01rs3v16nd5g4bzcgc95-git-2.24.1/libexec/git-core/.git-submodule-real: line 7: basename: command not found
/gnu/store/kyva0irr3khr01rs3v16nd5g4bzcgc95-git-2.24.1/libexec/git-core/.git-submodule-real: line 7: sed: command not found
/gnu/store/ah5pin2kr96c3fidjy39hzsy99riqi6s-profile/libexec/git-core/git-sh-setup: line 86: basename: command not found
/gnu/store/ah5pin2kr96c3fidjy39hzsy99riqi6s-profile/libexec/git-core/git-sh-setup: line 86: sed: command not found
/gnu/store/ah5pin2kr96c3fidjy39hzsy99riqi6s-profile/libexec/git-core/git-sh-setup: line 333: uname: command not found
/gnu/store/kyva0irr3khr01rs3v16nd5g4bzcgc95-git-2.24.1/libexec/git-core/.git-submodule-real: line 1121: sed: command not found
/gnu/store/kyva0irr3khr01rs3v16nd5g4bzcgc95-git-2.24.1/libexec/git-core/.git-submodule-real: line 1121: cmd_: command not found

It might make sense to refer to basename, sed and uname by direct store path.