From: Jay Freeman (saurik) Date: Wed, 16 Dec 2015 00:30:54 +0000 (-0800) Subject: Commit this @else code, as it seems useful-ish ;P. X-Git-Tag: v0.9.590~210 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/55eb8bc0e71782c2fde0f7b1b9f983164a058e53?ds=inline Commit this @else code, as it seems useful-ish ;P. --- diff --git a/Filter.sh b/Filter.sh index 35a1542..6e6bd93 100755 --- a/Filter.sh +++ b/Filter.sh @@ -53,6 +53,12 @@ function include() { fi done done + elif [[ ${line} = @else ]]; then + if [[ -z ${filter+@} ]]; then + unset filter + else + filter= + fi elif [[ ${line} = @end ]]; then unset filter elif [[ ${line} = @include* ]]; then