summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r--usr.bin/cvs/checkout.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index 9ec4e1c97b7..72666da1f52 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.120 2008/02/03 18:42:32 joris Exp $ */
+/* $OpenBSD: checkout.c,v 1.121 2008/02/03 19:57:44 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -214,6 +214,9 @@ checkout_check_repository(int argc, char **argv)
if (!(mc->mc_flags & MODULE_ALIAS) || dflag != NULL)
module_repo_root = mc->mc_repo;
+ if (mc->mc_flags & MODULE_NORECURSE)
+ flags &= ~CR_RECURSE_DIRS;
+
if (dflag != NULL)
wdir = dflag;
else