summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihail Konev <k.mvc@ya.ru>2017-01-26 14:00:20 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-01-26 14:00:20 +1000
commitd056a3c6843cf5f6c8b392c46bc4f1b637f87d0b (patch)
tree0280c0bf4ca59322c0e87a1d1cf098601051d9ce
parentf5982d0175359f7db28127cba3a42e08352f295b (diff)
autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 0006de8..f203569 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,6 +9,9 @@ cd "$srcdir"
autoreconf -v --install || exit 1
cd "$ORIGDIR" || exit $?
+git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
+ git config --local format.subjectPrefix "PATCH app/xcalc"
+
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi