Skip to content

Commit

Permalink
Framework: Fix wizard template logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mreid-tt committed Oct 17, 2023
1 parent e0f87bb commit d254a91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mk/spksrc.spk.mk
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ ifneq ($(strip $(WIZARDS_DIR)),)
$(eval SPK_CONTENT += WIZARD_UIFILES)
@mkdir -p $(DSM_WIZARDS_DIR)
@find $${SPKSRC_WIZARDS_DIR} -maxdepth 1 -type f -and \( $(WIZARD_FILE_NAMES) \) -print -exec cp -f {} $(DSM_WIZARDS_DIR) \;
@if [ -f "$(DSM_WIZARDS_DIR)/uninstall_uifile.sh" ] && [ -f "$(DSM_WIZARDS_DIR)/uninstall_uifile" ]; then \
rm "$(DSM_WIZARDS_DIR)/uninstall_uifile"; \
fi
@if [ -d "$(WIZARDS_DIR)$(TCVERSION)" ]; then \
$(MSG) "Create DSM Version specific Wizards: $(WIZARDS_DIR)$(TCVERSION)"; \
find $${SPKSRC_WIZARDS_DIR}$(TCVERSION) -maxdepth 1 -type f -and \( $(WIZARD_FILE_NAMES) \) -print -exec cp -f {} $(DSM_WIZARDS_DIR) \; ;\
Expand Down

0 comments on commit d254a91

Please sign in to comment.