summaryrefslogtreecommitdiff
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
commit5fb14f7a2c6da81c8e6bb325b354141233ab7d0a (patch)
tree2f93c0b6581c759ecdb20e3fe12a17a79f4400cd
parente0303d9c61d55081ffe4365a24107d851f457948 (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..58de92e 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 libXrandr"
+
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi