Commit e6b33c68 authored by Natanael Copa's avatar Natanael Copa

abuild: use $SUDO instead of 'sudo'

So SUDO="sudo -E" works for http proxy settings
parent a632d08f
......@@ -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() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment