diff --git a/hack/generate-olm-bundle.sh b/hack/generate-olm-bundle.sh index 93f4078c0..aa22da1f9 100755 --- a/hack/generate-olm-bundle.sh +++ b/hack/generate-olm-bundle.sh @@ -33,7 +33,7 @@ trap cleanup EXIT # move all zip file if exit mv $ZIP_FILE_NAME $ZIP_FILE_NAME.old -for i in $OLM_FOLDER/*/*.yaml $OLM_FOLDER/*.yaml +for i in $OLM_FOLDER/$VERSION/*.yaml $OLM_FOLDER/*.yaml do cp $i $WORK_DIR/${i##*/} $SED -e "s|${IMAGE_NAME}|${REDHAT_IMAGE_NAME}|g" $WORK_DIR/${i##*/}