File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ macosx)
3535android* )
3636 EXTRACONF=" android-arm -D__ANDROID_API__=$SYS_ANDROIDAPI "
3737 XX_ANDROID_NDK_HOME=` find $SYS_PREFIX -name AndroidVersion.txt 2> /dev/null`
38+ if [ " X$XX_ANDROID_NDK_HOME " = " X" ]; then
39+ XX_ANDROID_NDK_HOME=` find $ANDROIDNDK -name AndroidVersion.txt 2> /dev/null`
40+ fi
3841 export ANDROID_NDK_HOME=` dirname $XX_ANDROID_NDK_HOME `
3942 PATH=` ls -d $SYS_PREFIX /android-ndk-* -toolchain/bin` :$PATH
4043 # FIXME: This was better `clang` as Android is supposed to phase
Original file line number Diff line number Diff line change @@ -693,7 +693,7 @@ make_stringfile()
693693 string_srcs=" $string_srcs $scmfile "
694694 if [ ` isnewer $srcfile $scmfile ` = " yes" ]; then
695695 echo " => $name .."
696- if [ $USE_XETEX = yes ]; then
696+ if [ " $USE_XETEX " = " yes" ]; then
697697 make_string_latex $font $size " $label " $name $scmfile $opt
698698 else
699699 make_string_gd $font $size " $label " $name $scmfile
@@ -1326,7 +1326,7 @@ END
13261326 fi
13271327 cd $here_xelatex
13281328 rm -rf $chkdir
1329- if [ $USE_XETEX = no ]; then
1329+ if [ " $USE_XETEX " = " no " ]; then
13301330 echo " ** Using GD to render strings"
13311331 else
13321332 touch $SYS_TMPDIR /.use_xetex
You can’t perform that action at this time.
0 commit comments