FS#6726 - repo-add from pacman3 leaves .PKGINFO in current directory
|
Details
On parsing the command line arguments, repo-add from pacman3
(using the version from testing here) tries to extract
.PKGINFO from the arguments that are files:
if ! tar xf "$arg" .PKGINFO 2>&1 >/dev/null; then This line actually extracts .PKGINFO to the current working directory and does not delete it afterwards, which causes repo-add to leave the .PKGINFO for the last package it checks. Using `tar xOf ...' instead should solve this. I also wonder if the stdout/stderr redirection is correct that way, at least it does not work for me. Using `... &> /dev/null' instead fixes this. |
This task depends upon
Closed by Aaron Griffin (phrakture)
Friday, 30 March 2007, 03:33 GMT
Reason for closing: Fixed
Additional comments about closing: In CVS
Friday, 30 March 2007, 03:33 GMT
Reason for closing: Fixed
Additional comments about closing: In CVS
Comment by
Aaron Griffin (phrakture) -
Wednesday, 28 March 2007, 15:30 GMT
Good catch. I'll fix this up tonight.
repo-add.diff