Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
case "${option}" in
b)
name=${OPTARG}
case "${option}" in
b)
name=${OPTARG}
- if [[ ${name} == "all" ]]; then
+ if [ ${name} = "all" ]; then
- elif [[ -z "${images##*$name*}" ]]; then
+ elif [ -z "${images##*$name*}" ]; then
make NAME=${name}
else
echo "Error: Unknown image name as option argument '${OPTARG}'" >&2;
make NAME=${name}
else
echo "Error: Unknown image name as option argument '${OPTARG}'" >&2;
;;
p)
repository=${OPTARG}
;;
p)
repository=${OPTARG}
- if [[ ${repository} == "all" ]]; then
+ if [ ${repository} = "all" ]; then
- elif [[ -z "${repositories##*$repository*}" ]]; then
+ elif [ -z "${repositories##*$repository*}" ]; then
make docker-push-registry NAME=${repository}
else
echo "Error: Unknown repository name as option argument '${OPTARG}'" >&2;
make docker-push-registry NAME=${repository}
else
echo "Error: Unknown repository name as option argument '${OPTARG}'" >&2;