mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-25 08:22:19 +00:00
abuild-keygen: allow run without any sudo
make it possible to skip the sudo invocation for testing
This commit is contained in:
parent
f35682d086
commit
62066fa2b9
@ -8,7 +8,7 @@
|
||||
|
||||
program_version=@VERSION@
|
||||
sharedir=${ABUILD_SHAREDIR:-@sharedir@}
|
||||
SUDO="${SUDO:-sudo}"
|
||||
SUDO="${SUDO-sudo}"
|
||||
|
||||
if ! [ -f "$sharedir/functions.sh" ]; then
|
||||
echo "$sharedir/functions.sh: not found" >&2
|
||||
|
Loading…
Reference in New Issue
Block a user