1
1
mirror of https://github.com/rui314/mold.git synced 2024-10-04 00:31:41 +03:00

Do not set root as the file owner

This commit is contained in:
Rui Ueyama 2024-05-02 14:52:15 +09:00
parent 16ad212919
commit fdbe7eecf9

View File

@ -166,8 +166,7 @@ ctest -j\$(nproc)
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
chown $(id -u):$(id -g) /mold/$dest.tar.gz /mold/mold
sha256sum /mold/$dest.tar.gz
"
which sha256sum > /dev/null && sha256sum $dest.tar.gz