From d2bd51aba9bac483bd43275972bc59f127d1d056 Mon Sep 17 00:00:00 2001
From: Dumez <dumez>
Date: Thu, 23 Apr 2015 14:56:27 +0000
Subject: [PATCH] Fix g_stamp_svn error "svn info" produces French string that
 are not properly parsed by quartus_generic.sh

---
 tools/quartus/set_quartus | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/quartus/set_quartus b/tools/quartus/set_quartus
index 1b4fbeca8b..90fc3c2bc7 100755
--- a/tools/quartus/set_quartus
+++ b/tools/quartus/set_quartus
@@ -36,6 +36,10 @@ echo "  - Site setting: ${SITE-}"
 
 # Select tool version
 if [ "${SITE-}" = "USN" ]; then
+  # svn info produces French string that are not properly parsed by quartus_generic.sh
+  export LANG=C
+  export LC_MESSAGES=C
+
   if [ "${TOOLSET}" = "unb1" ]; then
     . ${RADIOHDL}/tools/quartus/quartus_version.sh 11.1sp2
   elif [ "${TOOLSET}" = "unb2" ]; then
-- 
GitLab