X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/0f133d48d0985b66f7e69d82da45095b8172acd6..13c7f2fb8fc0619c8da1b5c8a697f7894479b070:/cycript.in diff --git a/cycript.in b/cycript.in index 8307b53..8aba9f1 100644 --- a/cycript.in +++ b/cycript.in @@ -19,4 +19,5 @@ # along with Cycript. If not, see . # }}} -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 "$@"