wpheadless icon indicating copy to clipboard operation
wpheadless copied to clipboard

I get `set: Illegal option -o pipefail`

Open pranaypratyush opened this issue 6 years ago • 1 comments

ubuntu@instance-20200302-1127:~/wpheadless$ sudo ./run-task install
./run-task: 3: set: Illegal option -o pipefail

I modified the shebang to #!/usr/bin/env bash and it didn't throw that error.

pranaypratyush avatar Jul 26 '20 08:07 pranaypratyush

Actually pipefail can be removed for run-task and docker-compose scripts for POSIX compatibility.

tsertkov avatar Jul 28 '20 09:07 tsertkov