~kosova/+junk/tuxfamily-twiki

« back to all changes in this revision

Viewing changes to foswiki/lib/Foswiki/Configure/Checkers/RCS/ExtOption.pm

  • Committer: James Michael DuPont
  • Date: 2009-07-18 19:58:49 UTC
  • Revision ID: jamesmikedupont@gmail.com-20090718195849-vgbmaht2ys791uo2
added foswiki

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# See bottom of file for license and copyright information
 
2
package Foswiki::Configure::Checkers::RCS::ExtOption;
 
3
use base 'Foswiki::Configure::Checker';
 
4
 
 
5
use strict;
 
6
 
 
7
sub check {
 
8
    my $this = shift;
 
9
 
 
10
    return if $Foswiki::cfg{RCS}{ExtOption};
 
11
    $Foswiki::cfg{RCS}{ExtOption} = "-x,v" if $Foswiki::cfg{OS} eq 'WINDOWS';
 
12
}
 
13
 
 
14
1;
 
15
__DATA__
 
16
#
 
17
# Foswiki - The Free and Open Source Wiki, http://foswiki.org/
 
18
#
 
19
# Copyright (C) 2008 Foswiki Contributors. All Rights Reserved.
 
20
# Foswiki Contributors are listed in the AUTHORS file in the root
 
21
# of this distribution. NOTE: Please extend that file, not this notice.
 
22
#
 
23
# Additional copyrights apply to some or all of the code in this
 
24
# file as follows:
 
25
#
 
26
# Copyright (C) 2000-2006 TWiki Contributors. All Rights Reserved.
 
27
# TWiki Contributors are listed in the AUTHORS file in the root
 
28
# of this distribution. NOTE: Please extend that file, not this notice.
 
29
#
 
30
# This program is free software; you can redistribute it and/or
 
31
# modify it under the terms of the GNU General Public License
 
32
# as published by the Free Software Foundation; either version 2
 
33
# of the License, or (at your option) any later version. For
 
34
# more details read LICENSE in the root of this distribution.
 
35
#
 
36
# This program is distributed in the hope that it will be useful,
 
37
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
38
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
39
#
 
40
# As per the GPL, removal of this notice is prohibited.