diff options
author | Jim Wilson <jimw@sifive.com> | 2018-05-02 00:24:45 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2018-05-01 17:24:45 -0700 |
commit | 254f79336fe637d64d41fcb652858bae3ac1f944 (patch) | |
tree | db6da6bad279eba8c538934e54365c5cfee32d75 /contrib/gcc_update | |
parent | 77972c795ddf98e1fce37535c7d5f8648f158734 (diff) | |
download | gcc-254f79336fe637d64d41fcb652858bae3ac1f944.tar.gz |
Add support for gcc as git submodule of another repository.
contrib/
* gcc_update: Check for .git as a file.
From-SVN: r259819
Diffstat (limited to 'contrib/gcc_update')
-rwxr-xr-x | contrib/gcc_update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc_update b/contrib/gcc_update index a33bb543902..c9c71548f53 100755 --- a/contrib/gcc_update +++ b/contrib/gcc_update @@ -286,7 +286,7 @@ p esac # Check for known version control systems. -if [ -d .git ]; then +if [ -d .git ] || [ -f .git ]; then GCC_GIT=${GCC_GIT-${GIT-git}} vcs_type="git" elif [ -d .hg ]; then |