Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[fix] Makefile: test .opp existence before install plugin

  • Loading branch information...
commit fb01ffc4c00d5e4f19e331008dc7f084dd6dffb1 1 parent 64058ec
@Aqua-Ye Aqua-Ye authored BourgerieQuentin committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  Makefile
View
2  Makefile
@@ -131,7 +131,7 @@ define install-plugin
@printf "Installing into $(STDLIB_DIR)/$*.opp^[[K\r"
@mkdir -p "$(STDLIB_DIR)/$*.opp"
@$(INSTALL) $(BUILD_DIR)/$*.opp/*.bypass "$(STDLIB_DIR)/$*.opp/";
-@$(INSTALL) $(BUILD_DIR)/$*.opp/*MLRuntime.* "$(STDLIB_DIR)/$*.opp/";
+@$(if $(wildcard $(BUILD_DIR)/$*.opp/*MLRuntime.*, $(INSTALL) $(BUILD_DIR)/$*.opp/*MLRuntime.* "$(STDLIB_DIR)/$*.opp/";))
endef
Please sign in to comment.
Something went wrong with that request. Please try again.