]> 4ch.mooo.com Git - 16.git/blobdiff - spri.sh
seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd...
[16.git] / spri.sh
diff --git a/spri.sh b/spri.sh
index 4fea5d0283bc566323f9b775ff6c8e5e05b01e2e..d0a4618bd43c911749bbe0861508f52f4bc131a7 100755 (executable)
--- a/spri.sh
+++ b/spri.sh
@@ -5,7 +5,7 @@ if [ ! -f "$1".vrs ] && [ -f "$1".vrl ] && [ -f "$1".sht ]; then
        echo "$1".vrs created
 #      echo "1st condition ok!"
 fi
-if [ -f "$1".sht ]; then
+if [ -f "$1".vrl ] && [ -f "$1".sht ]; then
        ../../pcxsscut -s "$1".sht -hc "$1".h -hp _"$1"_ -i ../"$1".pcx -p "$1".pal -tc 0x"$2" -y
 #      echo "2nd condition ok!"
 else