All of lore.kernel.org
 help / color / mirror / Atom feed
* [tisdk-setup-scripts][PATCH] create-sdcard.sh: Use export LANG setting
@ 2014-06-12 20:15 Franklin S. Cooper Jr
  2014-06-13 15:52 ` Denys Dmytriyenko
  0 siblings, 1 reply; 2+ messages in thread
From: Franklin S. Cooper Jr @ 2014-06-12 20:15 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

* Force locale language to be set to English this allows the script to run
* properly on a Linux OS whose default language isn't English.
---
 create-sdcard.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/create-sdcard.sh b/create-sdcard.sh
index 3e02050..85fefbf 100644
--- a/create-sdcard.sh
+++ b/create-sdcard.sh
@@ -36,6 +36,10 @@
 # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+# Force locale language to be set to English. This avoids issues when doing
+# text and string processing.
+export LANG=C
+
 # Determine the absolute path to the executable
 # EXE will have the PWD removed so we can concatenate with the PWD safely
 PWD=`pwd`
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-13 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-12 20:15 [tisdk-setup-scripts][PATCH] create-sdcard.sh: Use export LANG setting Franklin S. Cooper Jr
2014-06-13 15:52 ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.