Skip to content

Commit

Permalink
archive-fonts: Fail if something is amiss
Browse files Browse the repository at this point in the history
[why]
If we do not have a license file an error will be output, but the
complete script will continue and return success.

[how]
Set mode to exit on error.

Signed-off-by: Fini Jastrow <[email protected]>
  • Loading branch information
Finii committed Apr 30, 2023
1 parent 1c8420c commit 9b3677b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/scripts/archive-fonts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# Example with same font names for different paths
# ./archive-fonts gohu

set -e

LINE_PREFIX="# [Nerd Fonts] "
scripts_root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/"
parent_dir="${PWD}/../../"
Expand Down

0 comments on commit 9b3677b

Please sign in to comment.