aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-chroot
diff options
context:
space:
mode:
authornoreply@github.com <noreply@github.com>2020-01-04 07:09:35 +0000
committernoreply@github.com <noreply@github.com>2020-01-04 07:09:35 +0000
commitafa484da981e1a83f35e0bec782644cd8d805547 (patch)
tree863ad8ca9ed157c7437c0c2e35ba7908bedc0c01 /contrib/kiss-chroot
parentc656d360f89712d01839b286f0c72d2aea977f58 (diff)
parentb98cfb94b28c93f74e98a2eb25d938da867a57cf (diff)
downloadcpt-afa484da981e1a83f35e0bec782644cd8d805547.tar.gz
Merge pull request #80 from a-schaefers/master
Remove a problematic '/' slash FossilOrigin-Name: 83bace3160891de6dc02a3286ac08c7094c3231fc1bb647f1e97d6f3a36c6a08
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; {