From dbcf53a9a108a2c4ddf984a70cfb8468396d3f45 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 31 Dec 2013 17:29:59 -0800 Subject: [PATCH] Surprisingly, od -t c is locale (LANG) sensitive. --- trampoline.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trampoline.sh b/trampoline.sh index f2ce916..97e078a 100755 --- a/trampoline.sh +++ b/trampoline.sh @@ -72,7 +72,7 @@ for arch in "${archs[@]}"; do echo echo "static const char ${name}_${arch}_data_[] = {" - od -v -t x1 -t c -j "$((offset + fileoff))" -N "${filesize}" "${object}" | "${sed}" -e ' + LANG=C od -v -t x1 -t c -j "$((offset + fileoff))" -N "${filesize}" "${object}" | "${sed}" -e ' /^[0-7]/ ! { s@^ @// @; s/\(....\)/ \1/g; -- 2.49.0