ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/raddepend.csh
(Generate patch)

Comparing ray/src/util/raddepend.csh (file contents):
Revision 2.2 by greg, Sat Jan 1 10:30:23 1994 UTC vs.
Revision 2.5 by greg, Fri Apr 15 11:18:30 1994 UTC

# Line 1 | Line 1
1   #!/bin/csh -f
2   # SCCSid "$SunId$ LBL"
3   #
4 < # Find scene dependencies in this directory and one level down
4 > # Find scene dependencies in this directory
5   #
6 < if ( ! $?RAYPATH ) then
7 <        set RAYPATH=.:/usr/local/lib/ray
8 < endif
6 > set es=1
7   onintr quit
8   rm -f EMPTY
9   echo -n > EMPTY
10 < sleep 1
10 > sleep 2
11   ( ls $* | sed -e 's@^@/^@' -e 's@$@$/d@' ; echo '/^EMPTY$/,$d' ) > /tmp/sed$$
12 < xform -e $* | rcalc -l -i 'instance $(name) ${n} $(ot) ' -o '$(ot)\
13 < ' | sort -u > /tmp/otf$$
14 < foreach ot (`cat /tmp/otf$$`)
15 <        unset libfile
16 <        foreach d (`echo $RAYPATH | sed 's/:/ /g'`)
17 <                if ( $d == . ) continue
18 <                if ( -r $d/$ot ) set libfile
21 <        end
22 <        if ( ! $?libfile ) echo $ot
23 < end
24 < ls -tu | sed -f /tmp/sed$$ | sort
12 > getbbox -w $* >/dev/null
13 > set es=$status
14 > if ( $es == 0 ) then
15 >        sync
16 >        sleep 2
17 >        ls -tuL | sed -f /tmp/sed$$ | sort
18 > endif
19   quit:
20 < rm -f /tmp/sed$$ /tmp/otf$$ EMPTY
20 > rm -f /tmp/sed$$ EMPTY
21 > exit $es

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines