#!/bin/bash
### update_autogen - update some auto-generated files in the Emacs tree
-## Copyright (C) 2011-2014 Free Software Foundation, Inc.
+## Copyright (C) 2011-2015 Free Software Foundation, Inc.
## Author: Glenn Morris <rgm@gnu.org>
echo "Committing..."
- $vcs commit -m "Auto-commit of $type files." "$@" || return $?
+ $vcs commit -m "# Auto-commit of $type files." "$@" || return $?
[ "$vcs" = "git" ] && {
$vcs push || return $?
modified=$(status $basegen) || die
- ## bzr status output is always relative to top-level, not PWD.
- [ "$vcs" = "bzr" ] && cd $oldpwd
-
commit "generated" $modified || die "commit error"
exit 0