From 84495210640b566f4f9187dc8cd2a42f7e1a458c Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Tue, 4 May 2021 07:34:20 +0430 Subject: Meta: Remove existing test directories before copying new ones in Previously, we would end up with `js-tests/Tests` and `web-tests/Tests` because the previous directories were already there. --- Meta/build-root-filesystem.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'Meta/build-root-filesystem.sh') diff --git a/Meta/build-root-filesystem.sh b/Meta/build-root-filesystem.sh index 888dbb57c9..def254ef3e 100755 --- a/Meta/build-root-filesystem.sh +++ b/Meta/build-root-filesystem.sh @@ -104,6 +104,7 @@ mkdir -p mnt/home/anon mkdir -p mnt/home/anon/Desktop mkdir -p mnt/home/anon/Downloads mkdir -p mnt/home/nona +rm -fr mnt/home/anon/js-tests mnt/home/anon/web-tests cp "$SERENITY_SOURCE_DIR"/README.md mnt/home/anon/ cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibJS/Tests mnt/home/anon/js-tests cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibWeb/Tests mnt/home/anon/web-tests -- cgit v1.2.3