You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by ms...@apache.org on 2005/02/10 00:40:50 UTC

svn commit: r153132 - spamassassin/trunk/build/do

Author: mss
Date: Wed Feb  9 15:40:47 2005
New Revision: 153132

URL: http://svn.apache.org/viewcvs?view=rev&rev=153132
Log:
Being a nice boy and added some documentation and license blurb.

Modified:
    spamassassin/trunk/build/do

Modified: spamassassin/trunk/build/do
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/build/do?view=diff&r1=153131&r2=153132
==============================================================================
--- spamassassin/trunk/build/do (original)
+++ spamassassin/trunk/build/do Wed Feb  9 15:40:47 2005
@@ -1,9 +1,31 @@
 #!/usr/bin/perl
+# <@LICENSE>
+# Copyright 2004 Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# </...@LICENSE>
+# 
+#
+# Some symlink-safe file routines.  Can copy, move or link one file somewhere
+# else.  On systems where no symlinks are supported, files are simply copied.
+
+use strict;
+use warnings;
 
 use File::Copy;
 
 if (scalar (@ARGV) != 3) {
-  die "Usage: $0 command source target\n"
+  die "Usage: $0 command source target\n\twhere command can be copy move or link."
 }
 
 my($cmd, $src, $tgt, $lnk) = @ARGV;