]> git.saurik.com Git - cycript.git/blobdiff - Filter.sh
Implement synchronous lstat: node.js binding demo.
[cycript.git] / Filter.sh
index 35a15425076f9e67c12293746772dd3ca8be61fa..6e6bd93b4cea348dedb20cda1ba8140655e0a570 100755 (executable)
--- 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