Fix missing trailing slash for archive prefix.

This commit is contained in:
Darko Poljak 2016-07-18 19:48:54 +02:00
parent 1815936b7d
commit 25bfad452c
2 changed files with 2 additions and 2 deletions

View file

@ -196,7 +196,7 @@ eof
archivename="$3"
else
archivename="cdist-${tag}.tar.gz"
git archive --prefix="cdist-${tag}" -o "${archivename}" "${tag}" \
git archive --prefix="cdist-${tag}/" -o "${archivename}" "${tag}" \
|| exit 1
fi
gpg --armor --detach-sign "${archivename}" || exit 1

View file

@ -231,7 +231,7 @@ eof
archivename="$3"
else
archivename="cdist-${tag}.tar.gz"
git archive --prefix="cdist-${tag}" -o "${archivename}" "${tag}" \
git archive --prefix="cdist-${tag}/" -o "${archivename}" "${tag}" \
|| exit 1
fi
gpg --armor --detach-sign "${archivename}" || exit 1