mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-28 09:52:09 +00:00
abuild: use $SUDO instead of 'sudo'
So SUDO="sudo -E" works for http proxy settings
This commit is contained in:
parent
a632d08fd2
commit
e6b33c688d
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user