vmactions / freebsd-vm

Use FreeBSD in github actions
https://vmactions.org
MIT License
243 stars 20 forks source link

Run prepare in sh instead of csh #66

Closed FWDekker closed 1 year ago

FWDekker commented 1 year ago

While writing a prepare script, I found that I regularly ran into issues because I make mistakes because I am not familiar with the syntax of csh (e.g. using environment variables, using command substitution, etc.). For the run part, I can use the option usesh to use sh instead of csh, but there is no option to do the same for the prepare part.

Would it be possible to either (1) make usesh use sh for both run and prepare, or (2) add prepareusesh (or something similar) to use sh also for prepare?

Neilpang commented 1 year ago

(1) make usesh use sh for both run and prepare

Seems good. I will fix it.

FWDekker commented 1 year ago

Thank you! :-)