]> granicus.if.org Git - nethack/commitdiff
fetch-cross-compiler.sh directory check follow-up
authornhmall <nhmall@nethack.org>
Thu, 6 Oct 2022 16:45:14 +0000 (12:45 -0400)
committernhmall <nhmall@nethack.org>
Thu, 6 Oct 2022 16:45:14 +0000 (12:45 -0400)
sys/msdos/fetch-cross-compiler.sh

index 2b53fc3d6e42a62ea084b1e5f349585ed513acd7..666aa2c41572561588797593984b00ec71e72c45 100644 (file)
@@ -117,11 +117,12 @@ fi
 
 FONT_VERSION="4.49"
 FONT_FILE="terminus-font-$FONT_VERSION"
-FONT_RFILE="$FONT_FILE.1.tar.gz"
+FONT_LFILE="$FONT_FILE.1"
+FONT_RFILE="$FONT_LFILE.tar.gz"
 FONT_URL="https://sourceforge.net/projects/terminus-font/files/$FONT_FILE/$FONT_RFILE"
 
 #  fonts
-if [ ! -d "$FONT_FILE" ]; then
+if [ ! -d "$FONT_LFILE" ]; then
     echo "Getting terminus fonts"
     if [ "$(uname)" = "Darwin" ]; then
        #Mac