Skip to content

Commit

Permalink
convert.sh: add conditions to checkResults() inside generate[World|Cl…
Browse files Browse the repository at this point in the history
…ouds]()
  • Loading branch information
chris-blues committed Jun 19, 2016
1 parent e0a482d commit ac963b2
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions convert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,6 @@ function generateWorld
for r in $RESOLUTION
do
{
mkdir -p tmp/$r
mkdir -p output/$r
echo
echo "--> Writing output/${r}/pale_blue_aug_${t}.dds @ ${r}x${r}"
Expand All @@ -506,8 +505,12 @@ function generateWorld
echo "###############################"
echo "#### World: [ done ] ####"
echo "###############################"
CHECK="world"
checkResults

if [ $BUILDCHECKS == "true" ]
then
CHECK="world"
checkResults
fi
}

function generateClouds
Expand Down Expand Up @@ -671,8 +674,12 @@ W"
echo "################################"
echo "#### Clouds: [ done ] ####"
echo "################################"
CHECK="clouds"
checkResults

if [ $BUILDCHECKS == "true" ]
then
CHECK="clouds"
checkResults
fi
}

function checkResults
Expand Down

0 comments on commit ac963b2

Please sign in to comment.