diff options
Diffstat (limited to 'contrib/gcc_update')
-rwxr-xr-x | contrib/gcc_update | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/contrib/gcc_update b/contrib/gcc_update index dc12c602afa..7eb839dc687 100755 --- a/contrib/gcc_update +++ b/contrib/gcc_update @@ -258,8 +258,19 @@ if [ $? -ne 0 ]; then exit 1 fi +rm -f LAST_UPDATED gcc/REVISION + +revision=`svn info | awk '/Revision:/ { print $2 }'` +branch=`svn info | sed -ne "/URL:/ { +s,.*/gcc/,,g +s,branches/,, +p +}"` { date - echo "`TZ=UTC date` (revision `svnversion .`)" + echo "`TZ=UTC date` (revision $revision)" } > LAST_UPDATED + +echo "[$branch revision $revision]" > gcc/REVISION + touch_files_reexec |