File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -63,14 +63,16 @@ if [ "$1" = "--system" ]
63
63
echo " "
64
64
fi
65
65
66
+ # ttfautohint path test for default builds
66
67
# test for local ttfautohint install using repository provided install script and defined ttfautohint version (and its dependencies)
67
68
# no tests for Python build dependencies here because they are always installed by default & tested in the pipenv virtualenv before these steps
68
- if ! [ -f " $TTFAH " ]; then
69
- echo " Unable to identify the expected local install path for ttfautohint. Please install and try again." 1>&2
70
- INSTALLFLAG=1
69
+ if [ $# -eq 0 ]; then
70
+ if ! [ -f " $TTFAH " ]; then
71
+ echo " Unable to identify the expected local install path for ttfautohint. Please install and try again." 1>&2
72
+ INSTALLFLAG=1
73
+ fi
71
74
fi
72
75
73
-
74
76
# If any of the dependency checks failed, exit the build and notify user
75
77
if [ $INSTALLFLAG -eq 1 ]; then
76
78
echo " Build canceled." 1>&2
You can’t perform that action at this time.
0 commit comments