* 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 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
