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

Failed to install via curl | bash: line 14: BASH_SOURCE: unbound variable #57

Open
dflock opened this issue Nov 5, 2022 · 0 comments
Open
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Milestone

Comments

@dflock
Copy link

dflock commented Nov 5, 2022

Describe the bug

I tried installing via cargo and that didn't work (#56), so I tried using the curl | bash method and that failed too.

To Reproduce

$ curl -sfSL https://raw.githubusercontent.com/innobead/huber/master/hack/install.sh | bash

bash: line 14: BASH_SOURCE: unbound variable
++(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }uname
bash: line 14: BASH_SOURCE: unbound variable

Expected behavior

Should work.

Environment

  • OS version
    • Linux duncan-desktop 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
    • Ubuntu 22.04.1 LTS
    • GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
  • Huber version
    • n/a

Doing what the bash script does, manually, works fine - huber seems to work fine.

@dflock dflock added the bug Something isn't working label Nov 5, 2022
@innobead innobead added the dependencies Pull requests that update a dependency file label Dec 11, 2022
@innobead innobead added this to the v0.3.12 milestone Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants