diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2017-08-09 21:18:32 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-16 00:01:42 +0100 |
commit | 95e1341b49f7184d280a03f64f131a4468a06867 (patch) | |
tree | 12ea9861ba9cd6e0d16b4921f9042579a6bc5820 /meta/recipes-devtools/python/python-setuptools.inc | |
parent | d404d5574b0c270656fda4dc051babe82e8828a9 (diff) | |
download | openembedded-core-95e1341b49f7184d280a03f64f131a4468a06867.tar.gz openembedded-core-95e1341b49f7184d280a03f64f131a4468a06867.tar.bz2 openembedded-core-95e1341b49f7184d280a03f64f131a4468a06867.zip |
externalsrc: Handle .git not being a directory
Use git rev-parse to determine the location of the .git directory, in
case it is not an immediate child of EXTERNALSRC (e.g. when using
submodules). In the event git can't resolve the .git directory, fall
back to the non-git method for hashing.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-setuptools.inc')
0 files changed, 0 insertions, 0 deletions