]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - changelog.sh
- some more 'emits' and a dummy Upstart job added so the new
[projects/rc-scripts.git] / changelog.sh
index 777182fb635b340c4c306b7a594dacb0b64d0dec..d0cf89e65fc6e3162e4c80871d42b457e22b0d90 100755 (executable)
@@ -1,12 +1,15 @@
 #!/bin/sh
 # $Id: changelog.sh 8104 2006-12-14 17:14:21Z glen $
-# Run this to generate all the initial makefiles, etc.
+# Run this to generate ChangeLog.
 
 if [ ! -x /usr/bin/svn2log ]; then
        echo >&2 'Need svn2log program!'
        exit 1
 fi
 
+# make sure '.' entry is up to date, or the log will be outdated too
+svn up . >/dev/null
+
 # create users for svn2log format
 tmp=$(mktemp -q svn2logXXXXXX 2>/dev/null || echo ${TMPDIR:-/tmp}/svn2log.tmp)
 > $tmp
@@ -29,7 +32,7 @@ if grep -q vim:encoding=utf-8 $users; then
 else
        charset=ISO8859-2
 fi
-svn log -v --xml | svn2log --users-charset=$charset --domain "pld-linux.org" -p $branch -u $tmp --exclude ChangeLog -o ChangeLog
+LC_ALL=C svn log -v --xml | LC_ALL=C svn2log --users-charset=$charset --domain "pld-linux.org" -p $branch -u $tmp --exclude ChangeLog -o ChangeLog
 rm -f $tmp
 
 # obfuscate emails <user@domain> and (user@domain)
This page took 0.035579 seconds and 4 git commands to generate.