Merge pull request #21064 from taku0/firefox-bin-fix-update-script

firefox-bin: fix updateScript
This commit is contained in:
Michael Raskin 2016-12-14 12:13:06 +00:00 committed by GitHub
commit d009ac1ce5

View file

@ -223,7 +223,7 @@ stdenv.mkDerivation {
tr " " ":"`; do
# create an entry for every locale
cat >> $tmpfile <<EOF
{ url = "$url$version/$arch/`echo $line | cut -d":" -f3`";"
{ url = "$url$version/`echo $line | cut -d":" -f3`";
locale = "`echo $line | cut -d":" -f3 | sed "s/$arch\///" | sed "s/\/.*//"`";
arch = "$arch";
sha512 = "`echo $line | cut -d":" -f1`";
@ -236,7 +236,7 @@ stdenv.mkDerivation {
}
EOF
cat $tmpfile > ${if isBeta then "beta_" else ""}sources.nix
mv $tmpfile ${if isBeta then "beta_" else ""}sources.nix
popd
'';