diff options
Diffstat (limited to 'src/libretools.conf')
-rw-r--r-- | src/libretools.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libretools.conf b/src/libretools.conf index 20c7d90..37453e1 100644 --- a/src/libretools.conf +++ b/src/libretools.conf @@ -29,7 +29,7 @@ ARCHES=('i686' 'x86_64' 'mips64el' 'any') ################################################################################ ## The directory where the chroots are stored -CHROOTDIR=/home/chroot +CHROOTDIR=/var/lib/archbuild ## Extra packages to have installed on the chroot (besides base base-devel and sudo) CHROOTEXTRAPKG=(distcc ccache tsocks) ## The meaning of this changes based on the version of libretools+devtools @@ -108,8 +108,8 @@ TORUPATH=/var/lib/libretools/toru ################################################################################ LIBREUSER="${SUDO_USER:-$USER}" -LIBREHOME="$(eval echo ~$SUDO_USER)" -if [[ -z $XDG_CONFIG_HOME ]]; then +LIBREHOME="$(eval echo ~$LIBREUSER)" +if [[ -z ${XDG_CONFIG_HOME:-} ]]; then export XDG_CONFIG_HOME="${LIBREHOME}/.config" fi if [[ -e "$XDG_CONFIG_HOME/libretools/libretools.conf" ]]; then |