Commit 254f7933 by Jim Wilson Committed by Jim Wilson

Add support for gcc as git submodule of another repository.

	contrib/
	* gcc_update: Check for .git as a file.

From-SVN: r259819
parent 77972c79
2018-05-01 Jim Wilson <jimw@sifive.com>
* gcc_update: Check for .git as a file.
2018-03-21 Christophe Lyon <christophe.lyon@linaro.org> 2018-03-21 Christophe Lyon <christophe.lyon@linaro.org>
* test_summary: Match possible single quotes in configure path. * test_summary: Match possible single quotes in configure path.
......
...@@ -286,7 +286,7 @@ p ...@@ -286,7 +286,7 @@ p
esac esac
# Check for known version control systems. # Check for known version control systems.
if [ -d .git ]; then if [ -d .git ] || [ -f .git ]; then
GCC_GIT=${GCC_GIT-${GIT-git}} GCC_GIT=${GCC_GIT-${GIT-git}}
vcs_type="git" vcs_type="git"
elif [ -d .hg ]; then elif [ -d .hg ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment