summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-17 13:05:41 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-17 13:05:41 +0200
commit2d343b44fc9f92fad643f4746dd7aeded9d4c662 (patch)
treea1dc8372e3474f083e7c14d63d81ad88a785dbc3
parent8ce58073ecfc61c17c1ea1460583622c041e470e (diff)
downloadjenkins.debian.net-2d343b44fc9f92fad643f4746dd7aeded9d4c662.tar.xz
chroot-run: always install git
-rwxr-xr-xbin/chroot-run.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh
index b5a23e10..7145f5f8 100755
--- a/bin/chroot-run.sh
+++ b/bin/chroot-run.sh
@@ -93,11 +93,12 @@ run() {
cat > $CHROOT_TARGET/tmp/chroot-testrun <<-EOF
$SCRIPT_HEADER
cd /tmp/testrun
+apt-get -y install git
if [ -f debian/control ] ; then
cat debian/control
# install build-depends
echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/23jenkins
- apt-get install build-essential devscripts git
+ apt-get install build-essential devscripts
mk-build-deps -ir
rm /etc/apt/apt.conf.d/23jenkins
fi