bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bootstrap: marking gnulib-copied/generated files as such


From: Jim Meyering
Subject: Re: bootstrap: marking gnulib-copied/generated files as such
Date: Fri, 08 Sep 2006 21:30:14 +0200

"Mark D. Baushke" <address@hidden> wrote:
> Jim Meyering <address@hidden> writes:
>
>>     case $CVS_RSH in
>>     '') export CVS_RSH=ssh;;
>>     esac
>
> One of the following would be better, given that not all shells
> allow assignment on an export command:
>
>    case $CVS_RSH in '') CVS_RSH=ssh; export CVS_RSH;; esac
...
> This way the export is separate from the assignment and even Solaris 10
> /bin/sh will work. :-)

Thanks.
I've done that:

2006-09-08  Jim Meyering  <address@hidden>

        * bootstrap: Export CVS_RSH separate from its assignment, to work
        even with Solaris 10's /bin/sh.  Suggestion from Mark D. Baushke.

Index: bootstrap
===================================================================
RCS file: /fetish/cu/bootstrap,v
retrieving revision 1.13
diff -u -r1.13 bootstrap
--- bootstrap   8 Sep 2006 08:59:31 -0000       1.13
+++ bootstrap   8 Sep 2006 19:24:16 -0000
@@ -137,7 +137,7 @@
     esac

     case $CVS_RSH in
-    '') export CVS_RSH=ssh;;
+    '') CVS_RSH=ssh; export CVS_RSH;;
     esac

     trap cleanup_gnulib 1 2 13 15




reply via email to

[Prev in Thread] Current Thread [Next in Thread]