]> git.saurik.com Git - cycript.git/commitdiff
Fixed a bug with trailing backslashes in trampoline comments.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 4 May 2010 02:43:21 +0000 (02:43 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 4 May 2010 02:43:21 +0000 (02:43 +0000)
trampoline.sh

index 81ac2ce7afdc50b48e83a5bb763380b097bcd8dd..04098088031350ad5df1664f8e4dbeb91da4d416 100755 (executable)
@@ -52,7 +52,7 @@ for arch in $(echo "${detailed}" | "${sed}" -e '/^architecture / { s/^architectu
             s@^        @//  @;
             s/\(....\)/ \1/g;
             s@^ // @//@;
-            s/ *$//;
+            s/ *$/ /; # comments cannot end with \ (XXX: put something else there, line it up)
         };
 
         /^[0-7]/ {