[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <201302211249.r1LCno6O024776@localhost.localdomain>
Date: Thu, 21 Feb 2013 13:49:50 +0100
From: Christophe Leroy <christophe.leroy@....fr>
To: Michal Marek <mmarek@...e.cz>
CC: linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org
Subject: [PATCH] Unset LANG in setlocalversion script
This patch allows the use of setlocalversion script regardless of the LANG
parameter. Otherwise, the `svn info 2>/dev/null | grep '^Last Changed Rev'`
returns nothing because for instance, in French the text 'Last Changed Rev'
is replaced by 'Révision de la dernière modification'
Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
diff -ur linux-3.7.9/scripts/setlocalversion linux/scripts/setlocalversion
--- linux-3.7.9/scripts/setlocalversion 2013-02-17 19:53:32.000000000 +0100
+++ linux/scripts/setlocalversion 2012-11-03 03:15:32.000000000 +0100
@@ -9,6 +9,8 @@
#
#
+unset LANG
+
usage() {
echo "Usage: $0 [--save-scmversion] [srctree]" >&2
exit 1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists