linuxdeploy-cli icon indicating copy to clipboard operation
linuxdeploy-cli copied to clipboard

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

Open ICHx opened this issue 3 years ago • 3 comments

./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 avatar Apr 13 '21 09:04 ICHx

I so manually changed the shebang to get it work.

ICHx avatar Apr 14 '21 16:04 ICHx

the same I did

eusoubrasileiro avatar Apr 20 '21 16:04 eusoubrasileiro

Try #!/usr/bin/env bash

the same I did

ICHx avatar Apr 24 '21 07:04 ICHx