35 lines · 742 B · Text
RawDownload
#!/bin/sh## Update the current version date in DATESTAMP files and generate# ChangeLog file entries since the last DATESTAMP update from the# commit messages. GITROOT=${GITROOT:-"/git/gcc.git"}if [ -z "$TMPDIR" ]; then  if [ -d /sourceware/snapshot-tmp/gcc ]; then    TMPDIR=/sourceware/snapshot-tmp/gcc  else    TMPDIR=/tmp  fifi # Run this from $TMPDIR.export GITROOT TMPDIRBASEDIR=`mktemp -d`cd "$BASEDIR" GIT=${GIT:-/usr/local/bin/git} # Assume all will go well.SUBDIR="$BASEDIR/gcc"${GIT} clone -q -b master "$GITROOT" "$SUBDIR" cp -a "$SUBDIR"/contrib/gcc-changelog "$BASEDIR"/gcc-changelogcd "$SUBDIR"python3 ../gcc-changelog/git_update_version.py -pRESULT=$? cd "$TMPDIR" /bin/rm -rf "$BASEDIR"exit $RESULT

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t