[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AKCL ultrix 3.0 make-Vmake broken?
I've observed a bizzare truncation problem in the make-Vmake
script for akcl under *just some* Ultrix 3.0 machines.
Apparently, the setting of the shell variables MCCV and OBJS
to the output of the find command does not work. The list of
files is truncated after about 8-10 lines (512 or 1024 bytes?).
The strange fix is to pipe find into a temporary file then cat
that file's contents into the shell variables. I have no idea
why this works. Here are the diffs:
(diff make-Vmake.fix make-Vmake.dist)
12,13c12
< find . \( -name '*[a-zA-Z0-9]' -a -type f \) -print > ../MCCV ;
< MCCV=`cat ../MCCV`;
---
> MCCV=`find . \( -name '*[a-zA-Z0-9]' -a -type f \) -print` ;
18,19c17
< find . \( -name '*[a-zA-Z0-9]' -a -type f \) -print > ../OBJS
< OBJS=`cat ../OBJS`;
---
> OBJS=`find . \( -name '*[a-zA-Z0-9]' -a -type f \) -print`
[Of course, this leaves the two temporary files scattered around, and
relies on write access to those directories, so some additional fudging
may be necessary.]
Mitch
P.S. I don't read this list ... .