bashizms in rpm-build-tools

Elan Ruusamäe glen at pld-linux.org
Wed Mar 16 12:15:10 CET 2016


On 16.03.2016 09:40, Arkadiusz Miśkiewicz wrote:
> # su -
> Hasło:
> Ostatnie logowanie: śro mar 16 07:51:18 CET 2016 na pts/2
> sh: /etc/shrc.d/rpm-build.sh[316]: syntax error: '=~' unexpected
> operator/operand
>
>     313          remote_pattern="Your branch is (behind|ahead) "
>     314          diverge_pattern="Your branch and (.*) have diverged"
>     315
>     316          if [[ ! ${git_status} =~ "working directory clean" ]]; then
>     317                  state="${RED}⚡"
>     318          fi
>
>
thanks, fixed in rpm-build-tools 4.8-4

-- 
glen



More information about the pld-devel-en mailing list