projects
/
dbsrgits/DBIx-Class-DeploymentHandler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
65622fe
)
No longer need to match the first part of a file
Arthur Axel 'fREW' Schmidt [Wed, 19 May 2010 06:51:17 +0000 (
01:51
-0500)]
lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm
b/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm
index
4eb5c6f
..
b43b070
100644
(file)
--- a/
lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm
+++ b/
lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm
@@
-180,7
+180,7
@@
method _run_sql_and_perl($filenames) {
}
$storage->_query_end($line);
}
- } elsif ( $filename =~ /^(.+)\.pl$/ ) {
+ } elsif ( $filename =~ /\.pl$/ ) {
log_debug { "[DBICDH] Running Perl from $filename" };
my $filedata = do { local( @ARGV, $/ ) = $filename; <> };