From f1dedf5a74a7a1ecf020f53c91ef6d74a3f833f1 Mon Sep 17 00:00:00 2001 From: lsileoni Date: Thu, 11 Apr 2024 21:39:07 +0300 Subject: [PATCH] Proper order for moving the compressed file into the static directory --- incubator/x86emu/v86starter.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/incubator/x86emu/v86starter.sh b/incubator/x86emu/v86starter.sh index dbbff8fe9..c8410d367 100755 --- a/incubator/x86emu/v86starter.sh +++ b/incubator/x86emu/v86starter.sh @@ -39,10 +39,10 @@ build() mkdir -p "$ROOT_DIR/www/third-party" mkdir -p "$ROOT_DIR/www/static" - # Copy necessary files to deployment directory + # Copy/move necessary files to deployment directory + mv "$VM_DIR/v86/images/image.bin" "$ROOT_DIR/www/static/image.bin" cp "$VM_DIR/v86/build/libv86.js" "$ROOT_DIR/www/third-party/libv86.js" cp "$VM_DIR/v86/build/v86.wasm" "$ROOT_DIR/www/third-party/v86.wasm" - cp "$VM_DIR/v86/images/debian-state-base.bin" "$ROOT_DIR/www/static/image.bin" cp -r "$VM_DIR/v86/images/debian-9p-rootfs-flat/" "$ROOT_DIR/www/static/9p-rootfs/" }