|
From: <sco...@us...> - 2012-03-14 02:34:12
|
Revision: 25261
http://gmod.svn.sourceforge.net/gmod/?rev=25261&view=rev
Author: scottcain
Date: 2012-03-14 02:33:59 +0000 (Wed, 14 Mar 2012)
Log Message:
-----------
quoting the password so special characters will be protected. Thanks to Hans Kraus for pointing it out.
Modified Paths:
--------------
schema/trunk/chado/lib/Bio/Chado/Builder.pm
Modified: schema/trunk/chado/lib/Bio/Chado/Builder.pm
===================================================================
--- schema/trunk/chado/lib/Bio/Chado/Builder.pm 2012-03-13 18:41:31 UTC (rev 25260)
+++ schema/trunk/chado/lib/Bio/Chado/Builder.pm 2012-03-14 02:33:59 UTC (rev 25261)
@@ -352,7 +352,7 @@
# loading chadoxml
my $stag_string = "stag-storenode.pl -d 'dbi:Pg:dbname=$db_name;host=$db_host;port=$db_port'";
$stag_string .= " --user $db_user " if $db_user;
- $stag_string .= " --password $db_pass " if $db_pass;
+ $stag_string .= " --password '$db_pass' " if $db_pass;
$sys_call = join( ' ',
$stag_string,
catfile( $conf->{'path'}{'data'}, $file->{'local'}.'xml')
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|