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