summaryrefslogtreecommitdiff
path: root/librechroot
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-15 15:35:50 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-15 15:35:50 -0300
commit2c4723526c438253a3a55bc80fff08b3e42fd3e1 (patch)
tree5886d058a8764707b92c5b04dd0f958bf598a762 /librechroot
parent6a42b684dea1611f70f78199bf356888a6978a04 (diff)
parentef7eee8a30c74760186a73e536397f8ee740a8fd (diff)
Merge branch 'master' of ssh://gparabola/libretools
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} ]] && {