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

setopt lines break when not run through bash #43

Closed
tsangal opened this issue Aug 20, 2019 · 1 comment
Closed

setopt lines break when not run through bash #43

tsangal opened this issue Aug 20, 2019 · 1 comment

Comments

@tsangal
Copy link

tsangal commented Aug 20, 2019

gibo/gibo

Lines 6 to 9 in bd5710b

set -o errexit
set -o noclobber
set -o nounset
set -o pipefail

On my system (Linux Mint) /bin/sh is symlinked to dash. Thus, executing the gibo script directly from the command-line no longer works due the the "set -o" lines at the top of the script.

$ ./gibo update
./gibo: 9: set: Illegal option -o pipefail

I have to run it through bash explicitly (e.g. bash gibo update).

@simonwhitaker
Copy link
Owner

Oops, my bad. Thanks for reporting! Reverted in 090c376.

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