Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shebang issue: #!/bin/bash does not exist. #27

Open
ICHx opened this issue Apr 13, 2021 · 3 comments
Open

shebang issue: #!/bin/bash does not exist. #27

ICHx opened this issue Apr 13, 2021 · 3 comments

Comments

@ICHx
Copy link

ICHx commented Apr 13, 2021

./cli.sh
bash: ./cli.sh: /bin/bash: bad interpreter: No such file or directory

u0_a140@x /data/data/ru.meefik.linuxdeploy/files $ head -n 1 ./cli.
head: ./cli.: No such file or directory
u0_a140@x /data/data/ru.meefik.linuxdeploy/files $ head -n 1 ./cli.sh
#!/bin/bash
u0_a140@x /data/data/ru.meefik.linuxdeploy/files $ which bash
/system/xbin/bash

I am on LineageOS, Android 10.

@ICHx
Copy link
Author

ICHx commented Apr 14, 2021

I so manually changed the shebang to get it work.

@eusoubrasileiro
Copy link

the same I did

@ICHx
Copy link
Author

ICHx commented Apr 24, 2021

Try #!/usr/bin/env bash

the same I did

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants