File: testtgz

package info (click to toggle)
fracplanet 0.4.0-5
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 732 kB
  • ctags: 834
  • sloc: cpp: 5,749; sh: 135; makefile: 55
file content (25 lines) | stat: -rwxr-xr-x 496 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash -e

rm -r -f /tmp/fracplanet
mkdir /tmp/fracplanet
cp $1 /tmp/fracplanet/
cd /tmp/fracplanet/

tar xvfz $1

if ! test -d ./fracplanet ; then echo "*** Un-tar failed" ; exit ; fi
cd ./fracplanet

./BUILD

echo "Please save xxx.pov for PovRay, xxx.py for Blender, then quit"

if ! test -s ./fracplanet ; then echo "*** Build failed" ; exit ; fi
./fracplanet

echo "Checking POV-Ray"
povray -Q9 -geometry 768x576 xxx.pov

echo "Checking Blender"
blender -w -p 100 100 800 800 -P xxx.py