[cvs] Make cvs.csh valid CSH script

Petr Pisar ppisar at fedoraproject.org
Thu Jan 20 15:06:16 UTC 2011


commit 018cdc2c0ac6743bb2750dc9fe101cce3545a69d
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 7a13874..275353d 100644
--- a/cvs.spec
+++ b/cvs.spec
@@ -5,7 +5,7 @@
 
 Name: cvs
 Version: 1.11.23
-Release: 12%{?dist}
+Release: 13%{?dist}
 Summary: Concurrent Versions System
 Group: Development/Tools
 URL: http://cvs.nongnu.org/
@@ -199,6 +199,9 @@ exit 0
 
 
 %changelog
+* Thu Jan 20 2011 Petr Pisar <ppisar at redhat.com> - 1.11.23-13
+- Make cvs.csh valid CSH script (bug #671003)
+
 * Mon Oct 25 2010 Petr Pisar <ppisar at redhat.com> - 1.11.23-12
 - Adjust spec file to package review: remove unused patches, fix license tag,
   fix home page URL, improve summary, package additional documentation, move


More information about the scm-commits mailing list