diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-05-04 07:34:20 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-04 21:55:30 +0200 |
commit | 84495210640b566f4f9187dc8cd2a42f7e1a458c (patch) | |
tree | d63c2289f13a869016b9c47e10995058c4a2efd1 /Meta/build-root-filesystem.sh | |
parent | 415fd4d2ecd8d846f15f1e4dd1c9865f85a15347 (diff) | |
download | serenity-84495210640b566f4f9187dc8cd2a42f7e1a458c.zip |
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.
Diffstat (limited to 'Meta/build-root-filesystem.sh')
-rwxr-xr-x | Meta/build-root-filesystem.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |