The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

CloudFormation Backup Machine specifies /bin/sh in package.sh

Michael Palmer-Gee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 3, 2020

CloudFormation Backup Machine specifies /bin/sh in package.sh but the script isn't fully POSIX compliant (e.g. use of [[ ]]). This is fine in most cases because /bin/sh is often symbolically linked to bash. But in cases where /bin/sh is linked to something else (like later versions of Ubuntu which link to dash), this causes the script to crash. This link provides some good background: https://wiki.ubuntu.com/DashAsBinSh.

My suggestion is that the Atlassian team should either, change the script to be POSIX compliant, or explicitly link to bash... which causes its own problems but, at least, would make the script fall over earlier and be more obvious to fix.

Thoughts?

Mike

0 comments

Comments for this post are closed

Community moderators have prevented the ability to post new comments.

TAGS
AUG Leaders

Atlassian Community Events