Skip to content

Commit 52dd4e5

Browse files
authored
BUILD_PATH => BUILD
1 parent 6900564 commit 52dd4e5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ttfautohint-build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ BUILD_DIR="ttfautohint-build"
3838

3939
# The build directory.
4040
if [[ "$OS" == "Darwin"* ]]; then
41-
BUILD_PATH="$HOME/Library/Caches/$BUILD_DIR"
41+
BUILD="$HOME/Library/Caches/$BUILD_DIR"
4242
elif [[ "$OS" == "Linux"* ]]; then
43-
BUILD_PATH="${XDG_CACHE_HOME:-$HOME/.cache}/$BUILD_DIR"
43+
BUILD="${XDG_CACHE_HOME:-$HOME/.cache}/$BUILD_DIR"
4444
else
4545
echo "warn: OS not recognized"
4646
BUILD_PATH="$HOME/ttfautohint-build"
4747
fi
48-
INST="$BUILD_PATH/local"
48+
INST="$BUILD/local"
4949

5050
# Excepted build binary path
5151
TTFAUTOHINT_BIN="$INST/bin/ttfautohint"

0 commit comments

Comments
 (0)