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
Opened by Zulu (smoon) - Monday, 12 March 2007, 19:20 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 13 March 2007, 15:01 GMT
|
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
Closed by Dan McGee (toofishes)
Tuesday, 13 March 2007, 16:30 GMT
Reason for closing: Fixed
Additional comments about closing: Tested, works fine. Closing.
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.