From 81700aed1b7027fdfeda73020c45c31b5d1fdb3c Mon Sep 17 00:00:00 2001 From: Gardouille Date: Fri, 5 Apr 2019 17:24:56 +0200 Subject: [PATCH] =?UTF-8?q?Chroot:=20Fix=20sed=20command=20to=20keep=20at?= =?UTF-8?q?=20least=20a=20slash=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/chroot.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/chroot.install b/debian/chroot.install index 35a875d..7b5df08 100755 --- a/debian/chroot.install +++ b/debian/chroot.install @@ -198,7 +198,7 @@ grep "/var/tmp" /target/etc/fstab || echo "/tmp /var/tmp no ### Remove all occurrences to target and avoid double slashs sed -i 's;target;;g' /target/etc/fstab -sed -i 's;//;;g' /target/etc/fstab +sed -i 's;//;/;g' /target/etc/fstab ## }}} ## Network {{{ ### Get all informations from current network configuration in rescue mode