[Git-commits] [grml/grml-debootstrap] 6839f3: travis: ignore SC2001 which doesn't work for $CHRO...

Michael Prokop noreply at github.com
Wed Aug 21 22:13:00 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-debootstrap
  Commit: 6839f3bd4fc3c5bdceee79a0c6bb694116f76809
      https://github.com/grml/grml-debootstrap/commit/6839f3bd4fc3c5bdceee79a0c6bb694116f76809
  Author: Michael Prokop <mika at grml.org>
  Date:   2019-08-21 (Wed, 21 Aug 2019)

  Changed paths:
    M travis/execute.sh

  Log Message:
  -----------
  travis: ignore SC2001 which doesn't work for $CHROOT_VARIABLES handling

SC2181 = See if you can use ${variable//search/replace} instead

This doesn't work for the $CHROOT_VARIABLES which includes
variables with strings like "/", so we can't rely on the
${variable//search/replace} approach. Quoting from
https://github.com/koalaman/shellcheck/wiki/SC2001:

| Utilizing some of the more complex capabilities of sed is
| required occasionally and it is safe to ignore SC2001.




More information about the Git-commits mailing list