Re: %post script weirdness

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

 



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: pgpgD2LefZuRQ.pgp
Description: PGP signature

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux