innobead / huber

Huber 📦, Package Install Manager for GitHub repos
Apache License 2.0
189 stars 17 forks source link

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

Open dflock opened 1 year ago

dflock commented 1 year ago

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

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