testcontainers / dind-drone-plugin

Plugin for Drone CI v0.8+ to enable use of Testcontainers using Docker-in-Docker
Apache License 2.0
31 stars 19 forks source link

Add escaping to ampersand #25

Closed danielt998 closed 9 months ago

danielt998 commented 9 months ago

To resolve problem with multi-command Drone scripts caused by a change in Bash 5.1:

x. New shell option: patsub_replacement. When enabled, a '&' in the replacement string of the pattern substitution expansion is replaced by the portion of the string that matched the pattern. Backslash will escape the '&' and insert a literal '&'.

https://tiswww.case.edu/php/chet/bash/NEWS