summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-03-29 12:17:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-29 12:17:35 +0000
commite6b33c688d12d8f609196c200199eb49d38dc143 (patch)
treea4da1c305c902cc418b3dd1e0065cb5f1a9050f3 /abuild.in
parenta632d08fd2e87bb4951a99d208684bd6180cf41d (diff)
downloadabuild-e6b33c688d12d8f609196c200199eb49d38dc143.tar.gz
abuild-e6b33c688d12d8f609196c200199eb49d38dc143.tar.bz2
abuild-e6b33c688d12d8f609196c200199eb49d38dc143.tar.xz
abuild-e6b33c688d12d8f609196c200199eb49d38dc143.zip
abuild: use $SUDO instead of 'sudo'
So SUDO="sudo -E" works for http proxy settings
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/abuild.in b/abuild.in
index 11811ba..4a8d026 100755
--- a/abuild.in
+++ b/abuild.in
@@ -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() {