From: Jay Freeman (saurik) Date: Tue, 28 Jan 2014 21:21:21 +0000 (-0800) Subject: Make cycript wrapper script detect its directory. X-Git-Tag: v0.9.501~4 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/0d1b6d88dd2078c60d4112cf6ed98b98522d6b6d Make cycript wrapper script detect its directory. --- diff --git a/cycript.in b/cycript.in index 8307b53..6505b3b 100644 --- a/cycript.in +++ b/cycript.in @@ -19,4 +19,5 @@ # along with Cycript. If not, see . # }}} +dir=${0%/*} DYLD_LIBRARY_PATH=Cycript.lib exec Cycript.lib/cycript "$@"