mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-02-27 04:23:15 +00:00
Improve error handling in update-flutter-nix.sh by using 'set -euo pipefail'
This commit is contained in:
parent
ccf4482723
commit
b33f5a432b
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# This script adjusts flake.nix to use the flutter version
|
||||
# pinned in .fvmrc. It fetches the appropriate commit hash.
|
||||
|
||||
set -e
|
||||
set -euo pipefail
|
||||
|
||||
for cmd in jq curl sed nix; do
|
||||
command -v $cmd >/dev/null 2>&1 || { echo "Error: $cmd is not installed!"; exit 1; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue