Procházet zdrojové kódy

If ansi-to-src is missing, skip changing file.

Steve Thielemann před 4 roky
rodič
revize
cc9ed579be
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 5 0
      build_images.sh

+ 5 - 0
build_images.sh

@@ -5,6 +5,11 @@ FINAL=images.h
 
 ansi-to-src ansi/*.ans > $BASE
 
+if [ $? -eq 127 ]; then
+  echo "using default, missing ansi-to-src"
+  exit 0
+fi
+
 # workaround
 if [ -f "$FINAL" ]; then
   # file exists