dotnet: allow update.sh to be run from root
This commit is contained in:
parent
5518ca2098
commit
5ad4b8b068
|
@ -1,9 +1,11 @@
|
||||||
#!/usr/bin/env nix-shell
|
#!/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
|
# shellcheck shell=bash
|
||||||
|
|
||||||
set -Eeuo pipefail
|
set -Eeuo pipefail
|
||||||
|
|
||||||
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||||
|
|
||||||
release () {
|
release () {
|
||||||
local content="$1"
|
local content="$1"
|
||||||
local version="$2"
|
local version="$2"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user