Steve Simms steve
Wed Jan 26 20:32:15 PST 2005
The .pl scripts all have a "# -*- perl -*-" in their first line, but this 
causes my machines to try to find a script by that name, and subsequently 
fail.

This must be a situation where it works on AIX (or whatever Chris is using), 
but not in Linux, so I suggest removing them.  I didn't remove them from 
either slon.env or slon-tools.pm, though in the latter case I'm curious why 
it's there -- wouldn't the file extension be enough to identify it as a Perl 
file?

-- 
Steve Simms <steve at deefs.net>
http://www.deefs.net
-------------- next part --------------
Index: build_env.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/build_env.pl,v
retrieving revision 1.6
diff -u -r1.6 build_env.pl
--- build_env.pl	26 Jan 2005 19:42:23 -0000	1.6
+++ build_env.pl	26 Jan 2005 20:27:39 -0000
@@ -1,4 +1,4 @@
-#!@@PERl@@    # -*- perl -*-
+#!@@PERl@@
 # $Id: build_env.pl,v 1.6 2005/01/26 19:42:23 darcyb Exp $
 # Contributed by:
 # Joe Kalash
Index: drop_node.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/drop_node.pl,v
retrieving revision 1.6
diff -u -r1.6 drop_node.pl
--- drop_node.pl	26 Jan 2005 19:42:23 -0000	1.6
+++ drop_node.pl	26 Jan 2005 20:27:40 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: drop_node.pl,v 1.6 2005/01/26 19:42:23 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: drop_set.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/drop_set.pl,v
retrieving revision 1.6
diff -u -r1.6 drop_set.pl
--- drop_set.pl	26 Jan 2005 19:42:23 -0000	1.6
+++ drop_set.pl	26 Jan 2005 20:27:40 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: drop_set.pl,v 1.6 2005/01/26 19:42:23 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: failover.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/failover.pl,v
retrieving revision 1.5
diff -u -r1.5 failover.pl
--- failover.pl	26 Jan 2005 19:42:23 -0000	1.5
+++ failover.pl	26 Jan 2005 20:27:40 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: failover.pl,v 1.5 2005/01/26 19:42:23 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: init_cluster.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/init_cluster.pl,v
retrieving revision 1.8
diff -u -r1.8 init_cluster.pl
--- init_cluster.pl	26 Jan 2005 19:42:23 -0000	1.8
+++ init_cluster.pl	26 Jan 2005 20:27:40 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: init_cluster.pl,v 1.8 2005/01/26 19:42:23 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: merge_sets.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/merge_sets.pl,v
retrieving revision 1.6
diff -u -r1.6 merge_sets.pl
--- merge_sets.pl	26 Jan 2005 19:42:23 -0000	1.6
+++ merge_sets.pl	26 Jan 2005 20:27:41 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: merge_sets.pl,v 1.6 2005/01/26 19:42:23 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: move_set.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/move_set.pl,v
retrieving revision 1.5
diff -u -r1.5 move_set.pl
--- move_set.pl	26 Jan 2005 19:42:23 -0000	1.5
+++ move_set.pl	26 Jan 2005 20:27:41 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: move_set.pl,v 1.5 2005/01/26 19:42:23 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: restart_node.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/restart_node.pl,v
retrieving revision 1.4
diff -u -r1.4 restart_node.pl
--- restart_node.pl	26 Jan 2005 19:42:24 -0000	1.4
+++ restart_node.pl	26 Jan 2005 20:27:41 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: restart_node.pl,v 1.4 2005/01/26 19:42:24 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: restart_nodes.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/restart_nodes.pl,v
retrieving revision 1.3
diff -u -r1.3 restart_nodes.pl
--- restart_nodes.pl	26 Jan 2005 19:42:24 -0000	1.3
+++ restart_nodes.pl	26 Jan 2005 20:27:41 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: restart_nodes.pl,v 1.3 2005/01/26 19:42:24 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: show_configuration.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/show_configuration.pl,v
retrieving revision 1.2
diff -u -r1.2 show_configuration.pl
--- show_configuration.pl	26 Jan 2005 19:42:24 -0000	1.2
+++ show_configuration.pl	26 Jan 2005 20:27:41 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ #-*- perl -*-
+#!@@PERL@@
 # $Id: show_configuration.pl,v 1.2 2005/01/26 19:42:24 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: show_nodes.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/show_nodes.pl,v
retrieving revision 1.2
diff -u -r1.2 show_nodes.pl
--- show_nodes.pl	26 Jan 2005 19:42:24 -0000	1.2
+++ show_nodes.pl	26 Jan 2005 20:27:41 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: show_nodes.pl,v 1.2 2005/01/26 19:42:24 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: slon_kill.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/slon_kill.pl,v
retrieving revision 1.7
diff -u -r1.7 slon_kill.pl
--- slon_kill.pl	26 Jan 2005 19:42:25 -0000	1.7
+++ slon_kill.pl	26 Jan 2005 20:27:41 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: slon_kill.pl,v 1.7 2005/01/26 19:42:25 darcyb Exp $
 # Kill all slon instances for the current setname
 # Author: Christopher Browne
Index: slon_pushsql.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/slon_pushsql.pl,v
retrieving revision 1.6
diff -u -r1.6 slon_pushsql.pl
--- slon_pushsql.pl	26 Jan 2005 19:42:25 -0000	1.6
+++ slon_pushsql.pl	26 Jan 2005 20:27:41 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: slon_pushsql.pl,v 1.6 2005/01/26 19:42:25 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: slon_start.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/slon_start.pl,v
retrieving revision 1.8
diff -u -r1.8 slon_start.pl
--- slon_start.pl	26 Jan 2005 19:42:25 -0000	1.8
+++ slon_start.pl	26 Jan 2005 20:27:42 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: slon_start.pl,v 1.8 2005/01/26 19:42:25 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: slon_watchdog.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/slon_watchdog.pl,v
retrieving revision 1.5
diff -u -r1.5 slon_watchdog.pl
--- slon_watchdog.pl	26 Jan 2005 19:42:25 -0000	1.5
+++ slon_watchdog.pl	26 Jan 2005 20:27:42 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: slon_watchdog.pl,v 1.5 2005/01/26 19:42:25 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: slon_watchdog2.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/slon_watchdog2.pl,v
retrieving revision 1.5
diff -u -r1.5 slon_watchdog2.pl
--- slon_watchdog2.pl	26 Jan 2005 19:42:25 -0000	1.5
+++ slon_watchdog2.pl	26 Jan 2005 20:27:43 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: slon_watchdog2.pl,v 1.5 2005/01/26 19:42:25 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: subscribe_set.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/subscribe_set.pl,v
retrieving revision 1.6
diff -u -r1.6 subscribe_set.pl
--- subscribe_set.pl	26 Jan 2005 19:42:25 -0000	1.6
+++ subscribe_set.pl	26 Jan 2005 20:27:43 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: subscribe_set.pl,v 1.6 2005/01/26 19:42:25 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: uninstall_nodes.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/uninstall_nodes.pl,v
retrieving revision 1.4
diff -u -r1.4 uninstall_nodes.pl
--- uninstall_nodes.pl	26 Jan 2005 19:42:25 -0000	1.4
+++ uninstall_nodes.pl	26 Jan 2005 20:27:43 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: uninstall_nodes.pl,v 1.4 2005/01/26 19:42:25 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: unsubscribe_set.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/unsubscribe_set.pl,v
retrieving revision 1.4
diff -u -r1.4 unsubscribe_set.pl
--- unsubscribe_set.pl	26 Jan 2005 19:42:26 -0000	1.4
+++ unsubscribe_set.pl	26 Jan 2005 20:27:43 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: unsubscribe_set.pl,v 1.4 2005/01/26 19:42:26 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada
Index: update_nodes.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/update_nodes.pl,v
retrieving revision 1.3
diff -u -r1.3 update_nodes.pl
--- update_nodes.pl	26 Jan 2005 19:42:26 -0000	1.3
+++ update_nodes.pl	26 Jan 2005 20:27:43 -0000
@@ -1,4 +1,4 @@
-#!@@PERL@@ # -*- perl -*-
+#!@@PERL@@
 # $Id: update_nodes.pl,v 1.3 2005/01/26 19:42:26 darcyb Exp $
 # Author: Christopher Browne
 # Copyright 2004 Afilias Canada


More information about the Slony1-general mailing list