podman/contrib
Ed Santiago 295c531ece cirrus lib.sh: refactor req_env_var()
Existing code was not working due to a bash gotcha ('exit'
from a pipeline). It also had unnecessary duplication.

New version is safer; also includes unit tests run under localunit.

Existing invocations of req_env_var replaced via:

   $ [ edit setup_environment.sh, move one closing quote to its own line ]
   $ perl -ni -e 's/(?<=req_env_var )"(\S+)\s+\$\1"/$1/; if (/req_env_var "$/ .. /^\s*"/) { chomp; s/(?<=\S)\s.*//; if (/^\s*"/) { print "\n" } else { unless (/req_env_var/) { s/^\s+//; print " ";} print;} } else { print }' $(ack -l req_env_var)
   $ [ hand-massage an incorrect instance of '@' in lib.sh:ircmsg() ]

Signed-off-by: Ed Santiago <santiago@redhat.com>
2019-05-02 08:14:59 -06:00
..
cirrus cirrus lib.sh: refactor req_env_var() 2019-05-02 08:14:59 -06:00
gate Cirrus: Verify manpages for all subcommands exist 2019-03-21 10:47:27 -04:00
imgts [skip ci] Cirrus: Container for tracking image use 2019-01-24 08:47:08 -05:00
perftest pod infra container is started before a container in a pod is run, started, or attached. 2019-02-15 16:39:24 -05:00
script Add script to determine dependency sizes 2018-03-23 14:12:14 +00:00
spec Fix COPR builds to start working again 2019-04-17 16:12:54 -05:00
varlink Rename varlink socket and interface 2018-08-06 14:49:11 +00:00
build_rpm.sh Test RPM build and install for regressions 2018-08-28 11:53:09 +00:00