bashizms in rpm-build-tools

Arkadiusz Miśkiewicz arekm at maven.pl
Wed Mar 16 08:40:37 CET 2016


# 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


-- 
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )


More information about the pld-devel-en mailing list