From 3d0455ae382714085095024e40e242d5ca6996da Mon Sep 17 00:00:00 2001 From: Tomas Krizek <tomas.krizek@nic.cz> Date: Mon, 5 Feb 2018 11:18:47 +0100 Subject: [PATCH] scripts: archive - dereference symlinks Symlinks are pointing to broken locations with the way we generate source tarballs. Dereference them to avoid this issue. --- scripts/make-archive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make-archive.sh b/scripts/make-archive.sh index 95e7f7ef5..f8fa80cdb 100755 --- a/scripts/make-archive.sh +++ b/scripts/make-archive.sh @@ -11,5 +11,5 @@ git submodule status --recursive | grep -q '^[^ ]' && \ # 'git ls-files --recurse-submodules' works only if modules are initialized name="knot-resolver-$ver" -tar caf "$name.tar.xz" --no-recursion --transform "s|^|$name/|" -- $(git ls-files --recurse-submodules) +tar caf "$name.tar.xz" -h --no-recursion --transform "s|^|$name/|" -- $(git ls-files --recurse-submodules) echo "$name.tar.xz" -- GitLab