[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: %post script weirdness



On Wed, Aug 08, 2007 at 12:29:24PM -0700, Kory Hansen wrote:
> Jeff Johnson wrote:
> 
> >rpm is not "adding" ^M, it's not deleting ^M's for you.
> >The spec file has embedded ^M characters.
> >Verify whether that is true, eliminate in the spec file.
> 
> I thought that too, but I am editing the spec file with vi.  I even did
> a search of the spec file for ^M characters.

vi detects the EOL style used by the file and adapts to it. Run the
command: set fileformat=unix, and save.

Or, tr -d '\r' < spec > spec.new


-- 
lfr
0/0

Attachment: pgpAg1Vdvccpr.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]