summaryrefslogtreecommitdiff
path: root/pacman-extra.conf
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-08-24 10:18:25 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-08-25 11:20:08 +0200
commit3c175e98bdd905897199a9ff6a46de828d9a2fc1 (patch)
treeb0d78eb89a56183277c8b49405887cf283b8cc0b /pacman-extra.conf
parentddb08cb9a1f8765ab6348374a214f682b7c6eb2d (diff)
downloaddevtools32-3c175e98bdd905897199a9ff6a46de828d9a2fc1.tar.xz
checkpkg: Avoid unnecessary use of sed(1) and cut(1)
We already use `pacman -Sddp` here which should always only return a single package URL for regular packages. No need to extract the first field of the last line. Also, specify "--print-format '%l'" explicitly to make this consistent even if pacman(8)'s default value changes some day. Use bash parameter expansion instead of sed(1) to extract the file name from the URL. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'pacman-extra.conf')
0 files changed, 0 insertions, 0 deletions