Merge pull request #21064 from taku0/firefox-bin-fix-update-script
firefox-bin: fix updateScript
This commit is contained in:
commit
d009ac1ce5
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue