From fe3677052a750698b1bb5a3e5c14c1256e8747f3 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Fri, 26 Aug 2011 13:56:21 -0400 Subject: [PATCH] Correct pg_config failure in eg_db_config.pl Missing a =s in getopts config means it becomes a 0 or 1, when it should be a string. The problem only occurs when you are specifying a particular postgresql pg_config file (for example, if you have multiple versions of postgresql installed). Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott --- Open-ILS/src/support-scripts/eg_db_config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/support-scripts/eg_db_config.pl b/Open-ILS/src/support-scripts/eg_db_config.pl index 7a3c2a8f97..894f716f0b 100755 --- a/Open-ILS/src/support-scripts/eg_db_config.pl +++ b/Open-ILS/src/support-scripts/eg_db_config.pl @@ -194,7 +194,7 @@ GetOptions("create-schema" => \$cschema, "build-db-file=s" => \$build_db_sh, "pg-contrib-dir=s" => \$pg_contribdir, "create-db-sql=s" => \$create_db_sql, - "pg-config" => \$pgconfig, + "pg-config=s" => \$pgconfig, "admin-user=s" => \$admin_user, "admin-password=s" => \$admin_pw, "service=s" => \@services, -- 2.43.2