added quick sanity checks to gentextures.sh, to make sure imagemagick and bc

are really there.
This commit is contained in:
Vanessa Ezekowitz 2012-08-01 02:38:54 -04:00
parent 821e64db90
commit 78da946a40

@ -1,5 +1,15 @@
#!/bin/bash #!/bin/bash
if [ -z "`which convert`"] ; then {
echo "Please install Imagemagick."
exit 1
}
if [ -z "`which bc`"] ; then {
echo "Please install GNU bc."
exit 1
}
if [ $1 = "-t" ] ; then { if [ $1 = "-t" ] ; then {
TINT_OVERLAY=$1 TINT_OVERLAY=$1
BASE=$2 BASE=$2