Wed Sep 15 23:00:20 PDT 2004
- Previous message: [Slony1-commit] By cbbrowne: Cause the "show args" to indicate that what it expects for
- Next message: [Slony1-commit] By cbbrowne: This patch makes build_env.pl use the database ports passed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Change broken regex
Modified Files:
--------------
slony1-engine/tools/altperl:
slon_pushsql.pl (r1.4 -> r1.5)
-------------- next part --------------
Index: slon_pushsql.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/slon_pushsql.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -Ltools/altperl/slon_pushsql.pl -Ltools/altperl/slon_pushsql.pl -u -w -r1.4 -r1.5
--- tools/altperl/slon_pushsql.pl
+++ tools/altperl/slon_pushsql.pl
@@ -19,7 +19,8 @@
die "Usage: ./slon_pushsql.pl set[N] node[N] full_path_to_sql_script_file\n";
}
-if ($file !=~ /^\//) {
+if ($file =~ /^\//) {
+} else {
print "SQL script path needs to be a full path, i.e. /tmp/my_script.sql\n";
die "Usage: ./slon_pushsql.pl set[N] node[N] full_path_to_sql_script_file\n";
}
- Previous message: [Slony1-commit] By cbbrowne: Cause the "show args" to indicate that what it expects for
- Next message: [Slony1-commit] By cbbrowne: This patch makes build_env.pl use the database ports passed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list