how to compile then run a bash script? #1

Closed
opened 2025-10-14 15:38:39 -06:00 by navan · 0 comments
Owner

Originally created by @m2acgi on 6/6/2018

I have a bash script like this

#!/bin/bash

...some command...

It no work after complie with ./build.sh sample.sh 123456 sample. I'am using the Debian linux, as it's default shell is dash, not bash, so I wanna to compile with /bin/bash, then how would I do?

*Originally created by @m2acgi on 6/6/2018* I have a bash script like this ``` #!/bin/bash ...some command... ``` It no work after complie with `./build.sh sample.sh 123456 sample`. I'am using the Debian linux, as it's default shell is **dash**, not **bash**, so I wanna to compile with **/bin/bash**, then how would I do?
navan closed this issue 2025-10-14 15:38:40 -06:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/binsh#1
No description provided.