3 # Update the current version date in DATESTAMP files and generate
4 # ChangeLog file entries since the last DATESTAMP update from the
7 GITROOT
=${GITROOT:-"/git/gcc.git"}
8 if [ -z "$TMPDIR" ]; then
9 if [ -d /sourceware
/snapshot-tmp
/gcc
]; then
10 TMPDIR
=/sourceware
/snapshot-tmp
/gcc
16 # Run this from $TMPDIR.
21 GIT
=${GIT:-/usr/local/bin/git}
23 # Assume all will go well.
25 ${GIT} clone
-q -b master
"$GITROOT" "$SUBDIR"
27 cp -a "$SUBDIR"/contrib
/gcc-changelog
"$BASEDIR"/gcc-changelog
29 python3 ..
/gcc-changelog
/git_update_version.py
-p
34 /bin
/rm -rf "$BASEDIR"