This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
U/perl/i_wchar.U: Fix typo
[metaconfig.git] / dist / U / rcs_branch.U
CommitLineData
d8875586
MBT
1?RCS: $Id: rcs_branch.U 1 2006-08-24 12:32:52Z rmanfredi $
2?RCS:
3?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
cf39bd7e 4?RCS:
d8875586
MBT
5?RCS: You may redistribute only under the terms of the Artistic Licence,
6?RCS: as specified in the README file that comes with the distribution.
7?RCS: You may reuse parts of this distribution only within the terms of
8?RCS: that same Artistic Licence; a copy of which may be found at the root
9?RCS: of the source tree for dist 4.0.
10?RCS:
11?RCS: $Log: rcs_branch.U,v $
12?RCS: Revision 3.0 1993/08/18 12:09:40 ram
13?RCS: Baseline for dist 3.0 netwide release.
14?RCS:
15?MAKE:rcs_branch: Myread contains Loc
16?MAKE: -pick add $@ %<
17?S:rcs_branch:
18?S: This variable will hold "true" if rcs can take the -b<revision>
19?S: option, which can make Life Easier on those folks who like to run
20?S: rcsdiff manually.
21?S:.
22?T:xxx
23: Tra la la la la
24echo " "
25echo "Checking to see if RCS understands the -b switch..." >&4
26xxx=`./loc rcs '' $pth`
27case "$xxx" in
28'')
29 rcs_branch=false
30 echo "Oh. You don't seem to have RCS here."
31 ;;
32*)
33 rcs > rcsbranch.out 2>&1
34 if $contains 'b\[rev\]' rcsbranch.out >/dev/null 2>&1 ; then
35 rcs_branch=true
36 echo "Nice! Your RCS is spiffy!"
37 else
38 rcs_branch=false
39 echo "Well, at least you have RCS. You know, a newer version is available."
40 fi
41 ;;
42esac
43