summaryrefslogtreecommitdiff
path: root/autogen.sh
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
commitba8a175f550e3a195ac12e47d6edf34f1fc8e309 (patch)
treef9d32f83168692114c77b18fd12dff7871b97a4c /autogen.sh
parentb2400c72bc34718d4242d49f7730eb75b729c4ba (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..d16362c 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/appres"
+
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi