From b835594bf2d87e30829b2f83fe85b4c6d5efa57e Mon Sep 17 00:00:00 2001 From: Brooks J Rady Date: Fri, 14 May 2021 10:56:36 +0100 Subject: fix(build): fix an unintuitive operator precedence breaking plugin updating --- Makefile.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.toml') diff --git a/Makefile.toml b/Makefile.toml index 167afc34d..c02ba1ccf 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -87,7 +87,7 @@ for plugin in ${plugins} mkdir ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/assets/plugins/ plugin_name = basename ${plugin} plugin_out = set ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/assets/plugins/${plugin_name} - if not is_path_exists ${plugin_out} or is_path_newer ${plugin} ${plugin_out} + if is_path_newer ${plugin} ${plugin_out} or not is_path_exists ${plugin_out} exec wasm-opt -O ${plugin} -o ${plugin_out} end end -- cgit v1.2.3