[cvs/f13/master] Make cvs.csh valid CSH script

Petr Pisar ppisar at fedoraproject.org
Thu Jan 20 15:33:35 UTC 2011


commit 28005f877ea07c63ee48b0a5ffcafef005b4b3d7
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Jan 20 14:36:49 2011 +0100

    Make cvs.csh valid CSH script

 cvs.csh  |    2 +-
 cvs.spec |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/cvs.csh b/cvs.csh
index 97a2afd..74aa61c 100644
--- a/cvs.csh
+++ b/cvs.csh
@@ -1,2 +1,2 @@
 # change default from rsh to ssh for cvs command
-setenv CVS_RSH "${CVS_RSH-ssh}"
\ No newline at end of file
+if ( "$?CVS_RSH" == 0 ) setenv CVS_RSH ssh
diff --git a/cvs.spec b/cvs.spec
index 084f2c8..aba8007 100644
--- a/cvs.spec
+++ b/cvs.spec
@@ -6,7 +6,7 @@
 Summary: A version control system
 Name: cvs
 Version: 1.11.23
-Release: 10%{?dist}
+Release: 11%{?dist}
 License: GPL+
 Group: Development/Tools
 Source0: ftp://ftp.gnu.org/non-gnu/cvs/source/stable/%{version}/cvs-%{version}.tar.bz2
@@ -171,6 +171,9 @@ fi
 %config(noreplace) %{_sysconfdir}/profile.d/*
 
 %changelog
+* Thu Jan 20 2011 Petr Pisar <ppisar at redhat.com> - 1.11.23-11
+- Make cvs.csh valid CSH script (bug #671003)
+
 * Thu Oct 21 2010 Petr Pisar <ppisar at redhat.com> - 1.11.23-10
 - Fix CVE-2010-3846 (bug #645386)
 


More information about the scm-commits mailing list