Ticket #1977: shell.trace

File shell.trace, 542 bytes (added by Paul Lowman, 18 years ago)
Line 
1+ export PATH
2+ case $# in
3+ : guarantee one slash before 1st component
4+ case $1 in
5+ set ./lib/auto
6+ : strip last component if it is to be a filename
7+ case X$2 in
8+ set ./lib/auto
9+ : return reasonable status if nothing to be created
10+ test -d ./lib/auto
11+ list=
12+ true
13+ case $1 in
14+ list='./lib/auto '
15++ echo ./lib/auto
16++ sed 's:\(.*\)/:\1 :'
17+ set ./lib auto
18+ true
19+ case $1 in
20+ list='./lib ./lib/auto '
21++ echo ./lib
22++ sed 's:\(.*\)/:\1 :'
23+ set . lib
24+ true
25+ case $1 in
26+ break
27+ set ./lib ./lib/auto
28+ for dir in '""'
29+ mkdir