]> 4ch.mooo.com Git - 16.git/blob - spri.sh
fix bizarre near/far sprintf problem when gv->pee not initialized by just replacing the
[16.git] / spri.sh
1 #! /bin/bash
2 cd data/spri
3 if [ -f "$1".sht ]; then
4         ../../pcxsscut -s "$1".sht -hc "$1".h -hp _"$1"_ -i ../"$1".pcx -p "$1".pal -tc 0x"$2" -y
5         #echo "1st condition ok!"
6 else
7         ../../pcx2vrl -i ../"$1".pcx -o "$1".vrl -p "$1".pal -tc 0x"$2"
8         #echo "2nd condition ok!"
9         echo check if "$1".sht exist!
10 fi
11 cd ../../
12