mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 05:43:09 +00:00
Go into subdirectory when checksumming/signing
Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
e26f04a9d9
commit
32231e9200
@ -95,9 +95,9 @@ do_trace "Packaging"
|
||||
for fmt in "${formats[@]}"; do
|
||||
tar c${tar_opt[$fmt]}f "release/${version}.tar.${fmt}" -C "release" "${version}"
|
||||
for h in "${digests[@]}"; do
|
||||
${h}sum "release/${version}.tar.${fmt}" > "release/${version}.tar.${fmt}.${h}"
|
||||
(cd "release" && ${h}sum "${version}.tar.${fmt}") > "release/${version}.tar.${fmt}.${h}"
|
||||
done
|
||||
if [ "${use_gpg}" = "yes" ]; then
|
||||
gpg --detach-sign "release/${version}.tar.${fmt}"
|
||||
(cd "release" && gpg --detach-sign "${version}.tar.${fmt}")
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user