summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpcyrd <git@rxv.cc>2017-11-13 13:58:42 +0100
committerHolger Levsen <holger@layer-acht.org>2017-11-13 13:03:49 +0000
commit79437c7b24b3bda60ae229829ededcb0eac262a8 (patch)
treeda091f805a799cfd6da78c8ca0ba1dd7d7111b80
parent20a790c77e1ecb561ae9193291a3e21fef9e02d5 (diff)
downloadjenkins.debian.net-79437c7b24b3bda60ae229829ededcb0eac262a8.tar.xz
reproducible-archlinux: correctly recognize __END__
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/reproducible_setup_archlinux_schroot.sh46
1 files changed, 23 insertions, 23 deletions
diff --git a/bin/reproducible_setup_archlinux_schroot.sh b/bin/reproducible_setup_archlinux_schroot.sh
index 3564335c..2a9d938e 100755
--- a/bin/reproducible_setup_archlinux_schroot.sh
+++ b/bin/reproducible_setup_archlinux_schroot.sh
@@ -130,40 +130,40 @@ wget $WGET_OPTS -O "/tmp/PKGBUILD" "https://aur.archlinux.org/cgit/aur.git/plain
echo 'provides=("pacman=5.0.2")' >> /tmp/PKGBUILD
$USERCMD bash <<-__END__
- set -e
- mkdir /pacman-git
- cd /pacman-git
- mv /tmp/PKGBUILD .
- makepkg
- __END__
+set -e
+mkdir /pacman-git
+cd /pacman-git
+mv /tmp/PKGBUILD .
+makepkg
+__END__
$ROOTCMD sh -c 'yes | pacman -U /pacman-git/pacman-*-x86_64.pkg.tar.xz'
# fix /etc/pacman.conf. pacman-git doesn't have any repos configured
sudo tee -a $SCHROOT_BASE/$TARGET/etc/pacman.conf <<-__END__
- #[testing]
- #Include = /etc/pacman.d/mirrorlist
+#[testing]
+#Include = /etc/pacman.d/mirrorlist
- [core]
- Include = /etc/pacman.d/mirrorlist
+[core]
+Include = /etc/pacman.d/mirrorlist
- [extra]
- Include = /etc/pacman.d/mirrorlist
+[extra]
+Include = /etc/pacman.d/mirrorlist
- #[community-testing]
- #Include = /etc/pacman.d/mirrorlist
+#[community-testing]
+#Include = /etc/pacman.d/mirrorlist
- [community]
- Include = /etc/pacman.d/mirrorlist
+[community]
+Include = /etc/pacman.d/mirrorlist
- # If you want to run 32 bit applications on your x86_64 system,
- # enable the multilib repositories as required here.
+# If you want to run 32 bit applications on your x86_64 system,
+# enable the multilib repositories as required here.
- #[multilib-testing]
- #Include = /etc/pacman.d/mirrorlist
+#[multilib-testing]
+#Include = /etc/pacman.d/mirrorlist
- [multilib]
- Include = /etc/pacman.d/mirrorlist
- __END__
+[multilib]
+Include = /etc/pacman.d/mirrorlist
+__END__
if [ "$HOSTNAME" = "profitbricks-build4-amd64" ] ; then
# disable signature verification so packages won't fail to install when setting the time to +$x years