Marcelo Tomim wrote:
> Hi,
> 
> I checked my default shell and it is dash. Is it a problem?
> Regarding the other suggestions, I still have to try them out.
> 
> Thanks for the help.
> Marcelo.

I would suggest to move to bash (in general). See
https://wiki.ubuntu.com/DashAsBinSh for more info.

Otherwise, this patch should fix your problem with si_clusterconfig
(checked in the developers' trunk).

-Andrea
---

Index: sbin/si_clusterconfig
===================================================================
--- sbin/si_clusterconfig       (revision 4380)
+++ sbin/si_clusterconfig       (revision 4381)
@@ -145,7 +145,13 @@
                if (defined($ENV{'EDITOR'})) {
                        $editor = $ENV{'EDITOR'};
                } else {
-                       chomp($editor = `(type -p vim || type -p vi || type -p 
nano || type -p nano-tiny) 2>/dev/null`);
+                       my @ed_list = ('vim', 'vi', 'nano', 'nano-tiny');
+                       foreach my $e (@ed_list) {
+                               if (system("$e --version &>/dev/null") == 0) {
+                                       $editor = $e;
+                                       last;
+                               }
+                       }
                }
                unless ($editor) {
                        die("FATAL: couldn't find a valid editor (vi, vim, nano 
or nano-tiny)!\n");

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to