mirror of https://github.com/openXC7/prjxray.git
utils: Overwrite localisation settings
Set localisation settings to default values to prevent different locale results from tools. Example: Non-English speaking countries use a comma as decimal seperators but Python's float convert only accepts a point. Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
This commit is contained in:
parent
77e8b24c88
commit
d3fba0c6a0
|
|
@ -27,6 +27,9 @@ fi
|
|||
export XRAY_PART_YAML="${XRAY_DATABASE_DIR}/${XRAY_DATABASE}/${XRAY_PART}/part.yaml"
|
||||
source $XRAY_UTILS_DIR/environment.python.sh
|
||||
|
||||
# Set environment to default output and overwrite localisation settings
|
||||
export LC_ALL=C
|
||||
|
||||
# tools
|
||||
export XRAY_GENHEADER="${XRAY_UTILS_DIR}/genheader.sh"
|
||||
export XRAY_BITREAD="${XRAY_TOOLS_DIR}/bitread --part_file ${XRAY_PART_YAML}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue