~dveeden/mysql-sandbox/mysql-sandbox

« back to all changes in this revision

Viewing changes to script_templates/script_to_template.pl

  • Committer: Giuseppe Maxia
  • Date: 2009-05-27 23:28:21 UTC
  • Revision ID: g.maxia@gmail.com-20090527232821-db818jh50fqor3zx
- Fixed Bug#381044 "my" script fails on some executables
- moved function "exists_in_path" to MySQL::Sandbox module

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
print Dumper $scripts;
11
11
 
12
12
for my $script (keys %{$scripts}) {
13
 
    my $fname = "./process/$script";
 
13
    my $fname = "./sb_scripts/$script";
14
14
    open my $FH, '>', $fname
15
15
        or die "can't create $fname ($!)\n";
16
16
    print $FH $scripts->{$script}, "\n";