mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
mkdist: Don't create a .git directory.
That was a remnant from the time when mkdist created a .git/HEAD referring to the commit from which the distribution was made. Nowadays, it creates git-commit-id instead.
This commit is contained in:
parent
17f2cea4cc
commit
87e88df268
@ -106,7 +106,6 @@ tmpdir=$(mktemp -d -t elinks-dist-XXXXXXXX) || exit 1
|
||||
|
||||
git --git-dir="$GIT_DIR" archive --format=tar --prefix="elinks/" "$rev" |
|
||||
(cd -- "$tmpdir" && tar -xf -)
|
||||
mkdir -- "$tmpdir/elinks/.git"
|
||||
printf "%s\n" "$commit" > "$tmpdir/elinks/git-commit-id"
|
||||
|
||||
(set -e
|
||||
|
Loading…
Reference in New Issue
Block a user