diff options
author | Akshay <[email protected]> | 2020-04-13 15:52:02 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-04-13 15:52:02 +0100 |
commit | 32920b337ac9381fda5ae1b5ac539df79d3daec0 (patch) | |
tree | c136d5d6e3783e62e22bc7476b6455a66f828b95 /build.sh | |
parent | 5fac18ec0afedc1a4fe921ba9c21e4c0e9c18d82 (diff) |
change up path configuration
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,7 +1,5 @@ | |||
1 | #! /usr/bin/env bash | 1 | #! /usr/bin/env bash |
2 | 2 | ||
3 | export BNP="BitsNPicas.jar" | ||
4 | |||
5 | ff_filter() { | 3 | ff_filter() { |
6 | fontforge -c 'open(argv[1]).generate(argv[2])' "$1" "$2" | 4 | fontforge -c 'open(argv[1]).generate(argv[2])' "$1" "$2" |
7 | } | 5 | } |
@@ -9,6 +7,7 @@ ff_filter() { | |||
9 | ttf_filter() { | 7 | ttf_filter() { |
10 | # 1 - source file | 8 | # 1 - source file |
11 | # 2 - destination file | 9 | # 2 - destination file |
10 | BNP=${BNP:="./BitsNPicas.jar"} | ||
12 | java -jar "$BNP" convertbitmap -f ttf -o "$2" "$1" | 11 | java -jar "$BNP" convertbitmap -f ttf -o "$2" "$1" |
13 | } | 12 | } |
14 | 13 | ||