summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-23 11:21:13 +0200
committerErich Eckner <git@eckner.net>2018-07-23 11:21:13 +0200
commiteb1553deacd8c8912354825faa7b3c4a3c85c60b (patch)
tree6c42328abe21b1662f58ca9a1ff9fc9db90acca4
parent7149dcb5609f553697c01951227d69f1b888cf12 (diff)
downloadbuilder-eb1553deacd8c8912354825faa7b3c4a3c85c60b.tar.xz
bin/build-packages: do not call build command via sudo
-rwxr-xr-xbin/build-packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 6c951dd..edc9016 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -414,7 +414,7 @@ while [ "${count}" -ne 0 ] && \
# by piping the log, we don't see anything in the terminal,
# but all ways to duplicate the logs seem pretty elaborate
# shellcheck disable=SC2024,SC2086
- if sudo "${build_command}" ${outerParameters} -- ${middleParameters} -- ${innerParameters} > \
+ if "${build_command}" ${outerParameters} -- ${middleParameters} -- ${innerParameters} > \
"$(
date -u --iso-8601=seconds | \
cut -d+ -f1