]> git.saurik.com Git - cycript.git/blobdiff - cycript.in
Avoid infinite recursion while CYONifying objects.
[cycript.git] / cycript.in
index 8307b5362284a2cda98b94f2d376e890f2524527..8aba9f106a5f007119be75dfc7062185d4546227 100644 (file)
@@ -19,4 +19,5 @@
 # along with Cycript.  If not, see <http://www.gnu.org/licenses/>.
 # }}}
 
-DYLD_LIBRARY_PATH=Cycript.lib exec Cycript.lib/cycript "$@"
+dir=$(dirname "${BASH_SOURCE[0]}")
+DYLD_LIBRARY_PATH="${dir}"/Cycript.lib exec "${dir}"/Cycript.lib/cycript "$@"