mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
set: pipefail: invalid option name #315
Reference in New Issue
Block a user
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?
Originally created by @etanol85 on GitHub (Mar 23, 2018).
Trying to run dehydrated on an older (mac os x) system I'm running into this error:
dehydrated: line 10: set: pipefail: invalid option name
Output of bash -x dehydrated -c
Bash version is
GNU bash, version 2.05b.0(1)-release (powerpc-apple-darwin8.0)On another Mac OS machine with a more recent bash version
GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)I do not get this error.
Is there any workaround for this?
@LwsBtlr commented on GitHub (Mar 23, 2018):
On Mar 23, 2018, at 05:02, etanol85 notifications@github.com wrote:
brew install bash
--
This is my signature. There are many like it, but this one is mine.
@etanol85 commented on GitHub (Mar 23, 2018):
Many thanks, this (bash 4.4.) solved the issue!
@lukas2511 commented on GitHub (Mar 24, 2018):
Out of interest I just googled when pipefail was introduced. It seems it was introduced with bash version 3 which was released July 2004. Wow. But okay, you are running a powerpc setup, so I guess it's quite an old OS X version.
Installing bash from brew or ports definitively is the best solution for this, but I'm kinda wondering if the pre-installed zsh would work with dehydrated... mhm...
@etanol85 commented on GitHub (Mar 24, 2018):
Thanks, yes this is Mac OS 10.4 i think that Mac OS X 10.5.8 still can run on PPC and comes standard with BASH 3.2.17 so in that case that could work out of the box.
FIY I tried the preinstalled zsh with "zsh ./dehydrated -v" and that did not work either:
./dehydrated:set:10: no such option: pipefail
./dehydrated:764: parse error near `local'
Thanks again!