summaryrefslogtreecommitdiff
path: root/lib/sbin/CVSUpdate.pl
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-12-03 15:14:01 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-12-03 15:14:01 +0000
commite4f1043616c9b97b35e6150ebf5a0d61978a7147 (patch)
treec2730185009c852d18615033f36f96ddf0f3711e /lib/sbin/CVSUpdate.pl
parent391d5fa4b46b3a07a744aa14011c46586c58a10e (diff)
Ignore thorns which don't come from CVS.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1910 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/CVSUpdate.pl')
-rw-r--r--lib/sbin/CVSUpdate.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/sbin/CVSUpdate.pl b/lib/sbin/CVSUpdate.pl
index df9439be..64d939b9 100644
--- a/lib/sbin/CVSUpdate.pl
+++ b/lib/sbin/CVSUpdate.pl
@@ -7,6 +7,7 @@
# (avoids problems with different versions of cvs client)
# $Header$
# @enddesc
+# @version $Header$
#@@*/
require "lib/sbin/MakeUtils.pl";
@@ -55,6 +56,12 @@ $current_dir = `pwd`;
chdir $package_dir;
foreach $thorn (sort keys %info)
{
+
+ if( ! -d "$thorn/CVS")
+ {
+ print "Ignoring $thorn - no CVS directory\n";
+ next;
+ }
chdir $thorn;
print("\nUpdating $thorn\n");
$command = "cvs -z 3 -q update -d -P";