mirror of
https://github.com/tweag/nickel.git
synced 2024-09-11 11:47:03 +03:00
fixing update_channel.sh script
This commit is contained in:
parent
61ed646ac9
commit
cbd7ad7744
@ -15,9 +15,8 @@ case $CHANNEL in
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
echo "Downloading the latest $CHANNEL channel information ..."
|
||||
curl -Q "https://static.rust-lang.org/dist/channel-rust-$CHANNEL.toml" > $HERE/tmp.toml
|
||||
echo "Downloading the latest '$CHANNEL' channel information ..."
|
||||
curl "https://static.rust-lang.org/dist/channel-rust-$CHANNEL.toml" > $HERE/tmp.toml
|
||||
|
||||
CHANNEL_FILE=$HERE/channel_$CHANNEL.toml
|
||||
CHANNEL_DATE=$(nix-instantiate --eval -E "(builtins.fromTOML (builtins.readFile $HERE/tmp.toml)).date")
|
||||
|
Loading…
Reference in New Issue
Block a user