summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorMihail Konev <k.mvc@ya.ru>2017-01-26 13:52:49 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-01-26 13:52:49 +1000
commitb347e9f8ef3ae027c049741ab5c0c8dac45c9eb2 (patch)
tree1e61514658710cf5d5addd5992f0503dc4a55350 /autogen.sh
parentd34f694e810d11f95cd61e4209cd6e38f70bce58 (diff)
autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 0006de8..18f18ac 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 libSM"
+
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi