Skip to content

Commit ae7f386

Browse files
committed
Fix Makefiles for fbc operator
There was a copy/paste bug that uses hardcoded operator name in Makefile. This commit fixes it. Signed-off-by: Ales Raszka <[email protected]>
1 parent be7c4de commit ae7f386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fbc/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ catalogs: ${BINDIR}/render_catalogs.sh ${BINDIR}/opm ${BINDIR}/yq clean
6767
# all FBC must pass opm validation in order to be able to be used in a catalog
6868
.PHONY: validate-catalogs
6969
validate-catalogs: ${BINDIR}/opm
70-
@find ${TOPDIR}/catalogs -type d -name fbc-test-operator -exec \
70+
@find ${TOPDIR}/catalogs -type d -name ${OPERATOR_NAME} -exec \
7171
sh -c '${BINDIR}/opm validate $$(dirname "{}") && echo "✅ Catalog validation passed: {}" || echo "❌ Catalog validation failed: {}"' \;
7272

7373
.PHONY: create-catalog-dir

0 commit comments

Comments
 (0)