abuild: use $SUDO instead of 'sudo'

So SUDO="sudo -E" works for http proxy settings
This commit is contained in:
Natanael Copa 2011-03-29 12:17:35 +00:00
parent a632d08fd2
commit e6b33c688d
1 changed files with 2 additions and 2 deletions

View File

@ -1249,13 +1249,13 @@ post_add() {
installdeps() {
local deps i
sudo $APK add --wait 30 --repository "$abuildrepo" \
$SUDO $APK add --wait 30 --repository "$abuildrepo" \
--virtual .makedepends-$pkgname \
$makedepends
}
uninstalldeps (){
sudo $APK del .makedepends-$pkgname
$SUDO $APK del .makedepends-$pkgname
}
all() {