From 254f79336fe637d64d41fcb652858bae3ac1f944 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Wed, 2 May 2018 00:24:45 +0000 Subject: Add support for gcc as git submodule of another repository. contrib/ * gcc_update: Check for .git as a file. From-SVN: r259819 --- contrib/gcc_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/gcc_update') diff --git a/contrib/gcc_update b/contrib/gcc_update index a33bb54..c9c7154 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 -- cgit v1.1