diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rwxr-xr-x | contrib/gcc_update | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 7575dd9..d4fe5a4 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +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> * test_summary: Match possible single quotes in configure path. 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 |