From 7cbacd59bf538bac9e5868a005be162b265e44d6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 7 Jan 2009 11:54:45 -0500 Subject: [PATCH 1/1] avoid creating subdir in noact mode --- webcheckout | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webcheckout b/webcheckout index 1238172..4841fee 100755 --- a/webcheckout +++ b/webcheckout @@ -208,8 +208,10 @@ if (! @repos) { if (defined $destdir && @repos > 1) { # create subdirs of $destdir for the multiple repos - mkdir($destdir); - chdir($destdir) || die "failed to chdir to $destdir: $!"; + if (! $noact) { + mkdir($destdir); + chdir($destdir) || die "failed to chdir to $destdir: $!"; + } $destdir=undef; } -- 2.39.5