aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-chroot
diff options
context:
space:
mode:
authorpaxchristi888@gmail.com <paxchristi888@gmail.com>2020-01-04 02:48:23 +0000
committerpaxchristi888@gmail.com <paxchristi888@gmail.com>2020-01-04 02:48:23 +0000
commitb98cfb94b28c93f74e98a2eb25d938da867a57cf (patch)
tree863ad8ca9ed157c7437c0c2e35ba7908bedc0c01 /contrib/kiss-chroot
parentc656d360f89712d01839b286f0c72d2aea977f58 (diff)
downloadcpt-b98cfb94b28c93f74e98a2eb25d938da867a57cf.tar.gz
Remove a problematic '/' slash
FossilOrigin-Name: f9abf7a7aa2bfec6f9e249d50de334bc9a4fea4a8b26baf2020b5ec9c721fadc
Diffstat (limited to 'contrib/kiss-chroot')
-rwxr-xr-xcontrib/kiss-chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-chroot b/contrib/kiss-chroot
index 42146f9..98cb488 100755
--- a/contrib/kiss-chroot
+++ b/contrib/kiss-chroot
@@ -38,7 +38,7 @@ main() {
}
log Copying /etc/resolv.conf from host; {
- [ -f "/$1/etc/resolv.conf" ] || cp /etc/resolv.conf "$1/etc"
+ [ -f "$1/etc/resolv.conf" ] || cp /etc/resolv.conf "$1/etc"
}
log Entering chroot; {