4

im trying to install the cydia source code.

$ git clone git://git.saurik.com/cydia.git
$ cd cydia

but when i typing "./sysroot.sh" i got this error:

-bash: ./sysroot.sh: /usr/bin/env: bad interpreter: Operation not permitted

what the problem?

theShay
  • 247
  • 5
  • 20

1 Answers1

13

My guess would be that the filesystem you are trying to run the script from is mounted using the "noexec" option. The interpreter inside of a shebang does not need to be in your $PATH, since an absolute path is specified. Try running your script by calling the interpreter, rather than the script:

bash sysroot.sh
jordanm
  • 33,009
  • 7
  • 61
  • 76