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