1
0
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:
Kalle Olavi Niemitalo 2009-06-03 10:55:18 +03:00 committed by Kalle Olavi Niemitalo
parent 17f2cea4cc
commit 87e88df268

View File

@ -106,7 +106,6 @@ tmpdir=$(mktemp -d -t elinks-dist-XXXXXXXX) || exit 1
git --git-dir="$GIT_DIR" archive --format=tar --prefix="elinks/" "$rev" | git --git-dir="$GIT_DIR" archive --format=tar --prefix="elinks/" "$rev" |
(cd -- "$tmpdir" && tar -xf -) (cd -- "$tmpdir" && tar -xf -)
mkdir -- "$tmpdir/elinks/.git"
printf "%s\n" "$commit" > "$tmpdir/elinks/git-commit-id" printf "%s\n" "$commit" > "$tmpdir/elinks/git-commit-id"
(set -e (set -e