X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/106b489ea7284a5a7423007c18f0e5da807534ab..98735bfe852adb9e5421e5c04bb2e0119af443bd:/cycript.in diff --git a/cycript.in b/cycript.in index 08bc5bc..8aba9f1 100644 --- a/cycript.in +++ b/cycript.in @@ -19,4 +19,5 @@ # along with Cycript. If not, see . # }}} -DYLD_LIBRARY_PATH=.libs exec .libs/cycript_ "$@" +dir=$(dirname "${BASH_SOURCE[0]}") +DYLD_LIBRARY_PATH="${dir}"/Cycript.lib exec "${dir}"/Cycript.lib/cycript "$@"