Running ./bssg.sh post returns error #20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm on macOS 15.4.1. Running in iTerm or Terminal, error is the same on both. Bash installed via Brew.
echo $BASH_VERSIONreturns5.2.37(1)-releaseClone works ok.
Directory init works ok.
./bssg.sh postreturns:Hi, that's strange, as I'm testing BSSG on MacOS and it's working properly. My suspect is that it's still using the embedded, ancient MacOS bash version.
Could you please add this line:
echo "DEBUG: scripts/post.sh is running with BASH_VERSION: $BASH_VERSION" >/tmp/bashversion
Just under the #!/usr/bin/env bash line of the scripts/post.sh and, after running it, tell me the contents of the /tmp/bashversion file?
Ok, it returned the old 3.2 version. I've gone through and reinstall Homebrew and reinstalled bash and reset the shell to bash and now it all works. Apologies for the hassle. Something wasn't wanting to accept the updated bash shell. It all works now!