summaryrefslogtreecommitdiff
path: root/librechroot
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-08-12 11:01:51 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-08-12 11:01:51 -0300
commitef7eee8a30c74760186a73e536397f8ee740a8fd (patch)
tree6877456c30586c8cab9b248c01f89e93392bfd94 /librechroot
parent1499431f4c023eaccdf0aeb94c0bc8000f18ca9c (diff)
Removed deprecated CHCOPY var
Diffstat (limited to 'librechroot')
-rwxr-xr-xlibrechroot4
1 files changed, 2 insertions, 2 deletions
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} ]] && {