Commit 5e12b526 authored by Mouse's avatar Mouse

Remove unnecessary "LANG=C", as it's covered by "LC_ALL=C"

parent 32fb96e1
......@@ -32,9 +32,9 @@ for ref in ${top_srcdir}/tests/tests-asn1c-compiler/*.asn1.-*; do
oldversion=${template}.old
newversion=${template}.new
PROCESSING="$ref (from $src)"
LANG=C LC_ALL=C sed -e 's/^found in .*/found in .../' < "$ref" > "$oldversion"
LC_ALL=C sed -e 's/^found in .*/found in .../' < "$ref" > "$oldversion"
ec=0
(${top_builddir}/asn1c/asn1c -S ${top_srcdir}/skeletons -no-gen-OER -no-gen-PER "-$flags" "$src" | LANG=C LC_ALL=C sed -e 's/^found in .*/found in .../' > "$newversion") || ec=$?
(${top_builddir}/asn1c/asn1c -S ${top_srcdir}/skeletons -no-gen-OER -no-gen-PER "-$flags" "$src" | LC_ALL=C sed -e 's/^found in .*/found in .../' > "$newversion") || ec=$?
if [ $? = 0 ]; then
diff $diffArgs "$oldversion" "$newversion" || ec=$?
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment