FS#6583 - repo-add does add a wrong %FILENAME%

Attached to Project: Pacman
Opened by Zulu (smoon) - Monday, 12 March 2007, 19:20 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 13 March 2007, 15:01 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

repo-add from pacman3-rc2 does
echo -e "%FILENAME%\n$1\n" >> desc
where $1 is the full filename of the package that's supposed to be added to the database. This results in weird behaviour when pacman tries to download the package from a repository. Doing a `basename' of $1 fixes this:
echo -e "%FILENAME%\`basename $1`\n" >> desc
This task depends upon

This task blocks these from closing
 FS#6316 - Pacman 3 release bugcatcher 
Closed by  Dan McGee (toofishes)
Tuesday, 13 March 2007, 16:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  Tested, works fine. Closing.
Comment by Aaron Griffin (phrakture) - Tuesday, 13 March 2007, 15:01 GMT
Applied in CVS (though using $() in place of backticks) - please let me know if this fixes the issue.

Loading...