3 messages in com.perforce.perforce-user[p4] Help with .sh files
FromSent OnAttachments
Andrew Johnson07 Dec 2004 09:08 
Stephen Vance07 Dec 2004 10:48 
Ivey, William07 Dec 2004 11:09 
Subject:[p4] Help with .sh files
From:Andrew Johnson (ajoh@pingidentity.com)
Date:12/07/2004 09:08:51 AM
List:com.perforce.perforce-user

I need advice on how to fix a problem regarding .sh files.

My work environment involves a number of developers that have Windows, Linux and Mac as operating systems on their client machines. Sure enough, we are having problems with the Linux users executing .sh files checked into Perforce involving line ending characters.

I've entered a setting in the typemap for the entire depot to "text+x ....sh", but we still experience the problem. Also, I'm unable to force everyone to update their client views (due to the large number of clients) ensuring everyone has their LineEnd setting to "share" Due to the human error factor, this isn't an ideal solution.

Has anyone else out there found a work around for this issue? I'm thinking about changing the typemap to "binary ....sh", but I'm not convinced that this will work. Is there a way on a server level to limit the LineEnd settings for all clients to share?

Any advice is much appreciated, thanks!

Regards,

Andrew (Drew) Johnson