On Fri, 13 Nov 2020 21:12:20 -0000, GitLab Bridge on behalf of bcrocker wrote:
#!/bin/bash
-if [ -z "$1" -o -z "$2" ]; then
- echo "$(basename $0) <redhat path> <zstream? no/yes/branch>"
>&2;
+if [ -z "$1" ] || [ -z "$2" ]; then
if [[ -z $1 || -z $2 ]]
More readable, no quotes needed, etc. This is bash anyway, so why to go
through hoops of accommodating how different shells interpret POSIX?
Jiri