22 |
|
goto again2 |
23 |
|
endif |
24 |
|
endif |
25 |
< |
if ( $ldir != $cwd/lib ) then |
26 |
< |
set d1=(`ls -id lib`) |
27 |
< |
set d2=(`ls -id $ldir`) |
28 |
< |
if ($d1[1] != $d2[1]) then |
29 |
< |
echo -n "Install library files now [n]? " |
30 |
< |
if ( "$<" =~ [yY]* ) then |
31 |
< |
echo -n "Copying library files to $ldir... " |
32 |
< |
(cd lib ; tar -cf - *) | (cd $ldir ; tar -xf -) |
33 |
< |
echo "Done." |
34 |
< |
endif |
25 |
> |
if (! -d lib) then |
26 |
> |
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" |
27 |
> |
echo "You forgot to install the auxiliary files overlay." |
28 |
> |
echo "Download rad3R6supp.tar.gz from http://www.radiance-online.org" |
29 |
> |
echo "and run 'installib' later manually, or ^C now." |
30 |
> |
echo "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<" |
31 |
> |
exit |
32 |
> |
endif |
33 |
> |
set d1=(`ls -Lid lib`) |
34 |
> |
set d2=(`ls -Lid $ldir`) |
35 |
> |
if ($d1[1] != $d2[1]) then |
36 |
> |
echo -n "Install library files now [n]? " |
37 |
> |
if ( "$<" =~ [yY]* ) then |
38 |
> |
echo -n "Copying library files to $ldir... " |
39 |
> |
(cd lib ; tar -cf - *) | (cd $ldir ; tar -xf -) |
40 |
> |
echo "Done." |
41 |
|
endif |
36 |
– |
unset d1 d2 |
42 |
|
endif |
43 |
+ |
unset d1 d2 |