Wireshark-dev: Re: [Wireshark-dev] svn:eol:LF for *.sh

From: David Aggeler <david_aggeler@xxxxxxxxxx>
Date: Thu, 29 Sep 2011 23:09:16 +0200

Maybe I'm doing something wrong then. I have my on batch that first calls ...\vcvars32.bat and then cmd.exe.
In that shell I now execute 'nmake -f Makefile.nmake ..' manually

I don't invoke any of the .sh manually.

David

Am 28.09.2011 00:33, schrieb Bill Meier:
On 9/27/2011 4:27 PM, Guy Harris wrote:

On Sep 27, 2011, at 12:42 PM, David Aggeler wrote:

Maybe I am I the only one, but today it was once too many, where I had to 'convert different .sh files (e.g. win32-setup.h) to use UNIX style end of line instead of Windows.

Paging Bill Meier:

    http://www.wireshark.org/lists/wireshark-dev/201001/msg00141.html

Gerald suggests setting LF as the line ending; Bill suggests hacks that involve setting "-o igncr".

I'm puzzled:

Invoking win32-setup.sh via the use of makefile.nmake should just work (and, AFAIK, has done so since Jan 2010).

(The shell command used to invoke bash to run win32-setup.sh in the makefile automatically starts bash with "-oigncr").

However, this doesn't happen if you try to run win32-setup.sh directly from a bash command line.

Are you invoking win32-setup.sh other than by using the makefile.nmake with nmake ?

You indicate that you had to change other .sh files. Which ?

How are you invoking them ?

Bill
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe