Fix l10n manifest generation script

svn path=/nixpkgs/trunk/; revision=24993
This commit is contained in:
Yury G. Kudryashov 2010-12-06 12:04:21 +00:00
parent 1f558f78df
commit 9d8000c968

View File

@ -24,9 +24,6 @@ for i in `cd "${dir}"; ls kde-l10n-*-${release}.tar.bz2`; do
hash=$(nix-hash --type sha256 --flat --base32 "${dir}/${i}")
echo "{"
echo " lang = \"${lang}\";"
if [[ "${lang}" =~ "@" ]]; then
echo " langStripped = \"${lang/@/_}\";"
fi
echo " sha256 = \"${hash}\";"
echo "}"
echo $hash >&2