Skip to content

Commit

Permalink
different command syntax for new versions of opm
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomitn committed Jun 19, 2024
1 parent 0e2e03c commit 9eda902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/build-operator-catalog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ init_parent_catalog() {
catalog_name=${1}
mkdir "${catalog_name}" || exit
echo "Generating parent catalog Dockerfile"
${OPM_BIN} alpha generate dockerfile "${catalog_name}"
${OPM_BIN} generate dockerfile "${catalog_name}" || ${OPM_BIN} alpha generate dockerfile "${catalog_name}" #command depends on opm version
cd "${catalog_name}"
echo
}
Expand Down

0 comments on commit 9eda902

Please sign in to comment.