fix: Fix flag ordering in set calls in scripts (#99)
The README for scripts has an incorrect use of the `set`. Where it says to use: set -oue pipefail it should be: set -euo pipefail since `pipefail` is an option consumed by `set -o`. More information: https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
This commit is contained in:
parent
e530978bb4
commit
17bacbe3da
24 changed files with 25 additions and 25 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
set -oue pipefail
|
||||
set -euo pipefail
|
||||
|
||||
NAME=$1
|
||||
FORMAT=$2
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
set -oue pipefail
|
||||
set -euo pipefail
|
||||
|
||||
export FONTS_MODULE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
set -oue pipefail
|
||||
set -euo pipefail
|
||||
|
||||
mapfile -t FONTS <<< "$@"
|
||||
URL="https://fonts.google.com/download?family="
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
set -oue pipefail
|
||||
set -euo pipefail
|
||||
|
||||
mapfile -t FONTS <<< "$@"
|
||||
URL="https://github.com/ryanoasis/nerd-fonts/releases/latest/download/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue