dotnet: allow update.sh to be run from root

This commit is contained in:
David McFarland 2024-04-14 13:29:30 -03:00
parent 5518ca2098
commit 5ad4b8b068

View File

@ -1,9 +1,11 @@
#!/usr/bin/env nix-shell
#!nix-shell -I nixpkgs=../../../../. -i bash -p curl jq nix gnused
#!nix-shell -I nixpkgs=./. -i bash -p curl jq nix gnused
# shellcheck shell=bash
set -Eeuo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
release () {
local content="$1"
local version="$2"