3 messages in com.perforce.jamming[jamming] InstallFile broken on IRIX ...
FromSent OnAttachments
Davi...@durham.ac.uk David.Buscher@durham.ac.uk02 Sep 1999 06:27 
Dian...@whistle.com02 Sep 1999 09:46 
Davi...@durham.ac.uk David.Buscher@durham.ac.uk02 Sep 1999 10:18 
Subject:[jamming] InstallFile broken on IRIX 6.2?
From:Dian...@whistle.com (Dian@whistle.com)
Date:09/02/1999 09:46:45 AM
List:com.perforce.jamming

Yep, you found a bug. Looks like when INSTALL isn't set, all bets are off:

[From InstallInto]:

for i in $(>) { Install $(i:G=installed) : $(i) ; } if ! $(INSTALL) { Chmod $(t) ;

if $(OWNER) { Chown $(t) ; OWNER on $(t) = $(OWNER) ; } if $(GROUP) { Chgrp $(t) ; GROUP on $(t) = $(GROUP) ; } }

since "t" is set to all the source files.

The fix is to do the Chmod'ing in a for-loop the same way the Install'ing is done:

if ! $(INSTALL) { for i in $(t) { Chmod $(i) ;

if $(OWNER) { Chown $(i) ; OWNER on $(i) = $(OWNER) ; } if $(GROUP) { Chgrp $(i) ; GROUP on $(i) = $(GROUP) ; } } }

% jam -n install ...found 8 target(s)... ...updating 2 target(s)... Install /tmp/install/foo.tmp

cp foo.tmp /tmp/install/foo.tmp

Chmod /tmp/install/foo.tmp

chmod 644 /tmp/install/foo.tmp

Install /tmp/install/bar.tmp

cp bar.tmp /tmp/install/bar.tmp

Chmod /tmp/install/bar.tmp

chmod 644 /tmp/install/bar.tmp

...updated 2 target(s)...

Since this is an actual bug, someone from Perforce should probably pick this fix up for real.

Diane (dia@whistle.com)