X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/0d1b6d88dd2078c60d4112cf6ed98b98522d6b6d..13c7f2fb8fc0619c8da1b5c8a697f7894479b070:/cycript.in?ds=inline diff --git a/cycript.in b/cycript.in index 6505b3b..8aba9f1 100644 --- a/cycript.in +++ b/cycript.in @@ -19,5 +19,5 @@ # along with Cycript. If not, see . # }}} -dir=${0%/*} -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 "$@"