diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-29 12:17:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-29 12:17:35 +0000 |
commit | e6b33c688d12d8f609196c200199eb49d38dc143 (patch) | |
tree | a4da1c305c902cc418b3dd1e0065cb5f1a9050f3 /abuild.in | |
parent | a632d08fd2e87bb4951a99d208684bd6180cf41d (diff) | |
download | abuild-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-x | abuild.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() { |