[Rt-commit] rt branch, no-prototype, updated. rt-3.8.8-196-g73a10d7

? sunnavy sunnavy at bestpractical.com
Tue Aug 3 02:11:35 EDT 2010


The branch, no-prototype has been updated
       via  73a10d7f3987878c461281c61c037067f8cd3123 (commit)
      from  134b7aa14b3f7080ed060381699c429bbc72a837 (commit)

Summary of changes:
 sbin/rt-test-dependencies.in  |    2 +-
 share/html/NoAuth/js/dhandler |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 73a10d7f3987878c461281c61c037067f8cd3123
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Aug 3 14:13:08 2010 +0800

    use IPC::Run3 for jsmin

diff --git a/sbin/rt-test-dependencies.in b/sbin/rt-test-dependencies.in
index 1e4ab91..57aaa1b 100755
--- a/sbin/rt-test-dependencies.in
+++ b/sbin/rt-test-dependencies.in
@@ -255,6 +255,7 @@ CSS::Squish 0.06
 Devel::StackTrace 1.19
 JSON
 JavaScript::Minifier
+IPC::Run3
 .
 
 $deps{'STANDALONE'} = [ text_to_hash( << '.') ];
@@ -296,7 +297,6 @@ Test::HTTP::Server::Simple::StashWarnings 0.02
 Log::Dispatch::Perl
 Test::Warn
 Test::Builder 0.77 # needed to fix TODO test
-IPC::Run3
 Test::MockTime
 HTTP::Server::Simple::Mason 0.13
 Log::Dispatch::Perl
diff --git a/share/html/NoAuth/js/dhandler b/share/html/NoAuth/js/dhandler
index 11f1f2fc..4719df7 100644
--- a/share/html/NoAuth/js/dhandler
+++ b/share/html/NoAuth/js/dhandler
@@ -78,8 +78,8 @@ if ( $arg =~ m{squished\.js$} ) {
             local *STDERR = $stderr;
 
             local $SIG{'CHLD'} = 'DEFAULT';
-            require IPC::Run;
-            IPC::Run::run( [$jsmin], \$input, \$output, \$error );
+            require IPC::Run3;
+            IPC::Run3::run3( [$jsmin], \$input, \$output, \$error );
             if ( $? >> 8 ) {
                 $RT::Logger->warning("failed to jsmin: $error ");
             }

-----------------------------------------------------------------------


More information about the Rt-commit mailing list