summaryrefslogtreecommitdiffstats
path: root/ltmain.sh
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2010-06-30 12:42:30 +0200
committerDan McGee <dan@archlinux.org>2010-07-01 07:23:20 +0200
commit622326bb37a9f7eb1db27ac0166e791d7a949e0c (patch)
tree5090c56497570fb5def7201f7ca5d8068788d3f6 /ltmain.sh
parent68dff73463dd06d2055bcbd48be9bc74e786be5c (diff)
downloadpacman-622326bb37a9f7eb1db27ac0166e791d7a949e0c.tar.gz
pacman-622326bb37a9f7eb1db27ac0166e791d7a949e0c.tar.xz
makepkg: fix sudo/su calling of pacman
This fixes two issues: 1) using "sudo -l" results in excess password asking under certian configurations. Revert to the pre 3.4 behaviour of always using sudo if it is installed. 2) Properly escape the command so that that versioned dependencies, such as "foo>4", do not get treated as output redirection when using su. This also unifies the generation of the pacman line and its privilege escalation. Based on patches supplied by Andres P <aepd87@gmail.com> with minor adjustments for suitability for the maint branch. Original-work-by: Andres P <aepd87@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'ltmain.sh')
0 files changed, 0 insertions, 0 deletions