summaryrefslogtreecommitdiff
path: root/sync
diff options
context:
space:
mode:
Diffstat (limited to 'sync')
-rwxr-xr-xsync/pull2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/pull b/sync/pull
index 06cf145..f52ec5e 100755
--- a/sync/pull
+++ b/sync/pull
@@ -31,7 +31,7 @@ pullrepo() {
makerepo() {
if echo "$opts" | grep '\-b'; then
printmakemsg
- doas make clean install \
+ ${SUDO:-sudo} make clean install \
&& printmakesuccess || printmakeerror
fi
}