X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/a69dc826589acd483093b2e8830bf9f4c1d71913..e17ad658ec0b0a16dfaa0b1b1f99e1ff4eb87ba4:/trampoline.sh diff --git a/trampoline.sh b/trampoline.sh index 13248f9..97e078a 100755 --- a/trampoline.sh +++ b/trampoline.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Cycript - Optimizing JavaScript Compiler/Runtime # Copyright (C) 2009-2013 Jay Freeman (saurik) @@ -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;