]> TLD Linux GIT Repositories - rc-scripts.git/blobdiff - changelog.sh
- merged changes from PLD, all TLD changes and fixes are kept
[rc-scripts.git] / changelog.sh
index 54baf7d5fb681f443d6b7cbb8b6c8fbe8d585599..a7f24dc06f69157cf6823d4cc9161eea96cc20bd 100755 (executable)
@@ -1,6 +1,12 @@
 #!/bin/sh
 # Run this to generate ChangeLog.
 
+top_builddir=${1:-$(pwd)}
+
+set -e
+
+cd "$top_builddir"
+
 [ -e .git/shallow ] && git fetch --unshallow
 git log --format='%+ai [%h] %aN <%ae>%n%n%x09* %s' --stat | sed '1d' > ChangeLog