From 052b89e8d6f3b5337dd4c0efd5382f11bfbed2e0 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 14 Mar 2024 11:44:31 +0900 Subject: [PATCH] Copy `mold` to the top source directory test/gentoo-test.sh depends on the presence of the file. --- .gitignore | 1 + dist.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index fe8fea00..f5bfbc40 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ core gentoo /mold-*.tar.gz /build* +/mold diff --git a/dist.sh b/dist.sh index babc39b1..576d0966 100755 --- a/dist.sh +++ b/dist.sh @@ -166,6 +166,7 @@ cmake --install . --prefix $dest --strip find $dest -print | xargs touch --no-dereference --date='$timestamp' find $dest -print | sort | tar -cf - --no-recursion --files-from=- | gzip -9nc > /mold/$dest.tar.gz chown $(id -u):$(id -g) /mold/$dest.tar.gz +cp mold /mold " which sha256sum > /dev/null && sha256sum $dest.tar.gz