From 2a3c718ea526b6935628fbeb0dd0b16ed637f06e Mon Sep 17 00:00:00 2001 From: Yizhuo Liang <70337586+yizhuoliang@users.noreply.github.com> Date: Thu, 21 Mar 2024 03:33:34 -0400 Subject: [PATCH] Add mkdir in examples Makefile The cp -f command destination directories might not be created yet --- examples/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/Makefile b/examples/Makefile index d546e67b8..c4454dbe1 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -56,6 +56,8 @@ SRC=$(wildcard *.c) export PATH := $(LLD_PATH):$(PATH) all: longjmp file-copy signal fork vfork fork-longjmp execve spawn pipe epoll getrandom readdir_tree + mkdir -p ../../wasmer/tests/integration/cli/tests/wasm + mkdir -p ../../packages/fork-test/test.wasm cp -f ../dist/wasix/longjmp.wasm ../../wasmer/tests/integration/cli/tests/wasm/example-longjmp.wasm cp -f ../dist/wasix/fork.wasm ../../wasmer/tests/integration/cli/tests/wasm/example-fork.wasm cp -f ../dist/wasix/fork.wasm ../../packages/fork-test/test.wasm