mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-06 21:49:40 +02:00
archive-fonts: Fail if something is amiss
[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 <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
1c8420c807
commit
9b3677b7f2
@ -11,6 +11,8 @@
|
|||||||
# Example with same font names for different paths
|
# Example with same font names for different paths
|
||||||
# ./archive-fonts gohu
|
# ./archive-fonts gohu
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
LINE_PREFIX="# [Nerd Fonts] "
|
LINE_PREFIX="# [Nerd Fonts] "
|
||||||
scripts_root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/"
|
scripts_root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/"
|
||||||
parent_dir="${PWD}/../../"
|
parent_dir="${PWD}/../../"
|
||||||
|
Loading…
Reference in New Issue
Block a user