From ef7eee8a30c74760186a73e536397f8ee740a8fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Fri, 12 Aug 2011 11:01:51 -0300 Subject: Removed deprecated CHCOPY var --- librechroot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'librechroot') diff --git a/librechroot b/librechroot index 8071ca9..d3e02f1 100755 --- a/librechroot +++ b/librechroot @@ -27,7 +27,7 @@ function usage { echo "Usage: $0 chrootname" echo "Change to a chroot in $CHROOTDIR. Use it as root." echo - echo "Default chroot name: $CHCOPY" + echo "Default chroot name: $CHROOT" } while getopts 'h' arg; do @@ -45,7 +45,7 @@ custom_config=${XDG_CONFIG_HOME}/libretools/libretools.conf [[ -e ${custom_config} ]] && source ${custom_config} # Enter the chroot copy by default -chrootname=${1:-$CHCOPY} +chrootname=${1:-$CHROOT} CACHEDIR=${CACHEDIR:-/var/cache/pacman/pkg} [[ ! -d ${CHROOTDIR}/${chrootname} ]] && { -- cgit v1.2.2