Skip to content

Commit

Permalink
fix: don't sudo if not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
iMilnb committed Dec 30, 2024
1 parent 55a654c commit e50d9dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARCH?= amd64
SMOLI386= netbsd-SMOLi386
DIST= https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-${VERS}/latest/${ARCH}/binary
KDIST= ${DIST}
SUDO!= command -v doas || echo "sudo -E ARCH=${ARCH} VERS=${VERS}"
SUDO!= [ ${UID} = 0 ] || command -v doas || echo "sudo -E ARCH=${ARCH} VERS=${VERS}"
WHOAMI!= whoami
USER!= id -un
GROUP!= id -gn
Expand Down

0 comments on commit e50d9dc

Please sign in to comment.