summaryrefslogtreecommitdiff
path: root/src/chroot-tools/libremkchroot
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-28 15:18:44 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-28 15:18:44 -0500
commitfd1e5a426713715d9c0e3fabbfe0d8a20b629bad (patch)
treefb14943070f8271123412a03255c8021033eded8 /src/chroot-tools/libremkchroot
parent066c7716e69817af9e08782a7fbfc3dc2eb6356b (diff)
chroot-tools: disable overriding CHROOTDIR at the command line
Diffstat (limited to 'src/chroot-tools/libremkchroot')
-rwxr-xr-xsrc/chroot-tools/libremkchroot2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/chroot-tools/libremkchroot b/src/chroot-tools/libremkchroot
index cc5b431..08f69b1 100755
--- a/src/chroot-tools/libremkchroot
+++ b/src/chroot-tools/libremkchroot
@@ -35,7 +35,6 @@ usage() {
echo 'Options:'
echo ' -h Show this message'
echo ''
- echo ' -d <chrootdir> Use this dir instead of "$CHROOTDIR".'
echo ' -C <file> Location of pacman config file.'
echo ' -M <file> Location of makepkg config file.'
}
@@ -45,7 +44,6 @@ main() {
while getopts 'hfd:C:M:' arg; do
case "$arg" in
C|M) mkarchroot_args+=("-$arg" "$OPTARG");;
- d) CHROOTDIR=$OPTARG;;
h) usage; exit 0;;
*) usage; exit 1;;