]> git.wh0rd.org Git - home.git/commitdiff
custom-chroot: quote paths
authorMike Frysinger <vapier@gentoo.org>
Wed, 15 Mar 2017 23:02:25 +0000 (16:02 -0700)
committerMike Frysinger <vapier@gentoo.org>
Wed, 15 Mar 2017 23:02:25 +0000 (16:02 -0700)
.bin/custom-chroot

index e76d525b53d319bfc6d635d2ca71a8af33aa129f..c4036aaad85b710226e0d560e9e1b64dc0a49f75 100755 (executable)
@@ -141,7 +141,7 @@ main() {
 
        local m
        for m in "${mounts[@]}" ; do
-               maybe_mount ${m}
+               maybe_mount "${m}"
        done
        # Handle special mounts that we don't want to just bind mount.
        if ! is_mounted "${chroot}/dev/pts" ; then