]> git.saurik.com Git - cycript.git/blobdiff - trampoline.sh
Implement more syntax from strawman:block_lambda_revival.
[cycript.git] / trampoline.sh
index 04098088031350ad5df1664f8e4dbeb91da4d416..dd266a6348fee58924fd65cef9b077ff7694357c 100755 (executable)
@@ -16,7 +16,7 @@ shift 7
 
 "$@"
 
-detailed=$(lipo -detailed_info "${object}")
+detailed=$("${lipo}" -detailed_info "${object}")
 
 {
 
@@ -52,7 +52,7 @@ for arch in $(echo "${detailed}" | "${sed}" -e '/^architecture / { s/^architectu
             s@^        @//  @;
             s/\(....\)/ \1/g;
             s@^ // @//@;
-            s/ *$/ /; # comments cannot end with \ (XXX: put something else there, line it up)
+            s/ *$/,/;
         };
 
         /^[0-7]/ {