| Revision: | 2.6 |
| Committed: | Fri Sep 8 15:04:16 1995 UTC (30 years, 2 months ago) by greg |
| Content type: | application/x-csh |
| Branch: | MAIN |
| Changes since 2.5: | +1 -1 lines |
| Log Message: | made raddepend a little smarter about arguments in subdirectories |
| # | Content |
|---|---|
| 1 | #!/bin/csh -f |
| 2 | # SCCSid "$SunId$ LBL" |
| 3 | # |
| 4 | # Find scene dependencies in this directory |
| 5 | # |
| 6 | set es=1 |
| 7 | onintr quit |
| 8 | rm -f EMPTY |
| 9 | echo -n > EMPTY |
| 10 | sleep 2 |
| 11 | ( ls $* | sed -e 's~/~\\/~g' -e 's@^@/^@' -e 's@$@$/d@' ; echo '/^EMPTY$/,$d' ) > /tmp/sed$$ |
| 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$$ EMPTY |
| 21 | exit $es |