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

resty in bash script after upgrade to version 3 fails #87

Open
broerman opened this issue Feb 6, 2019 · 0 comments
Open

resty in bash script after upgrade to version 3 fails #87

broerman opened this issue Feb 6, 2019 · 0 comments

Comments

@broerman
Copy link

broerman commented Feb 6, 2019

After upgrading to newest resty ( version 3 ) my bash scripts stopped to work.

I found that aliases for example GET=resty-get where not resolved. I tested with type -a GET.

For me adding a bash option solved the problem.

#!/bin/bash
shopt -s expand_aliases

See also on:
[https://unix.stackexchange.com/questions/1496/why-doesnt-my-bash-script-recognize-aliases]

Bernd

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

1 participant