summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-07 20:05:48 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-07 20:05:48 +0100
commitece2032911c5668cf137cf43e3abbaad4e75209a (patch)
treef54c2c6f08c9dfd30ef95a63ccea6c19cf030685 /bin
parent50f5f1e924e48474f8dec32c4135d19fd183a3e8 (diff)
downloadjenkins.debian.net-ece2032911c5668cf137cf43e3abbaad4e75209a.tar.xz
reproducible rpms: use mock and sudo correctly
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_setup_mock.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_setup_mock.sh b/bin/reproducible_setup_mock.sh
index 711d2d9f..2385693d 100755
--- a/bin/reproducible_setup_mock.sh
+++ b/bin/reproducible_setup_mock.sh
@@ -19,5 +19,5 @@ DISTRO=$1
ARCHITECTURE=$2
echo "$(date -u) - starting to configure mock for ${DISTRO} on ${ARCHITECTURE} now."
-sudo /usr/bin/mock -r ${DISTRO}-${ARCHITECTURE} --init
+mock -r ${DISTRO}-${ARCHITECTURE} --init
echo "$(date -u) - mock configured for ${DISTRO} on ${ARCHITECTURE} now."