[projects/rc-scripts] autogen.sh: always generate ChangeLog
draenog
draenog at pld-linux.org
Sat Nov 2 23:48:41 CET 2013
commit e35bac70fdb9b566047d592f069991c3e37eaad6
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Sat Nov 2 23:00:15 2013 +0100
autogen.sh: always generate ChangeLog
autogen.sh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index d0fcd73..8605407 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -7,9 +7,11 @@ test -z "$srcdir" && srcdir=.
PKG_NAME="PLD Linux Distribution rc-scripts"
-if [ "$1" = "changelog" ]; then
+if [ -x ./changelog.sh ]; then
./changelog.sh
- exit 0
+else
+ echo "Error: missing script changelog.sh to generate ChangeLog" >&2
+ exit 1
fi
cd "$srcdir"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/rc-scripts.git/commitdiff/04d62a7e4acbf455ac5da61bae2870cad268055b
More information about the pld-cvs-commit
mailing list