From 9e99d9f1cf16ce8d237ef5e7a9f00f455c73d2de Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sun, 29 Apr 2018 22:54:24 +0100 Subject: [PATCH] Fix sedding of /etc/apt/sources.list. --- live-build/buildd/hooks/mirror.binary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/buildd/hooks/mirror.binary b/live-build/buildd/hooks/mirror.binary index 5aea13d0..7f3cdba4 100755 --- a/live-build/buildd/hooks/mirror.binary +++ b/live-build/buildd/hooks/mirror.binary @@ -8,5 +8,5 @@ set -e # has run "apt-get update" for the last time, in order that # /var/lib/apt/lists/ has suitable cached Packages files; this speeds up # builds on buildds. -sed "s,${LB_PARENT_MIRROR_BINARY},${LB_MIRROR_BINARY},g" \ +sed -i "s,${LB_PARENT_MIRROR_BINARY},${LB_MIRROR_BINARY},g" \ binary/etc/apt/sources.list