Ticket #64 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Fail to open spec file for RPM package

Reported by: krnekit Owned by: bruno
Priority: major Milestone: 0.10.1
Component: pb Version: 0.9.10
Keywords: Cc:

Description

Project Builder fails to open spec file while building RPM with the following error:

sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file

This happens due to single quotes used instead of the double quotes. In the attachment patch to fix this issue.

Attachments

project-builder-0.9.10-arg-fix.patch Download (745 bytes) - added by krnekit 3 years ago.
Pacth to fix the problem with quotes

Change History

Changed 3 years ago by krnekit

Pacth to fix the problem with quotes

comment:1 Changed 3 years ago by bruno

Could you provide to me what pbpackager entry you used to provoke this error ? I cannot see what address would create this problem.

comment:2 Changed 3 years ago by krnekit

pbpackager is:

Nikita Krupen'ko <MY_EMAIL>

I think, the problem with apostrophe. So using doublequotes instead of single one solves the problem.

comment:3 Changed 3 years ago by bruno

  • Status changed from new to closed
  • Resolution set to fixed

Thanks for your explanations and patch. Applied in rev [1085]. Will be in 0.9.11.

Note: See TracTickets for help on using tickets.