From: Mike Frysinger Date: Sun, 21 Nov 2010 23:23:21 +0000 (-0800) Subject: pass user home down to chroot X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a4b1ac78f4971d3704765c0b4fe4ef9559be1906;p=home.git pass user home down to chroot --- diff --git a/.bin/custom-chroot b/.bin/custom-chroot index a96b181..9416b0b 100755 --- a/.bin/custom-chroot +++ b/.bin/custom-chroot @@ -1,6 +1,6 @@ #!/bin/bash -e -[[ -w / ]] || exec sudo "$0" "$@" +[[ -w / ]] || exec sudo env HOME="$HOME" "$0" "$@" mounts="proc sys dev dev/pts usr/portage usr/portage/distfiles"