[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

eric at webkit.org eric at webkit.org
Thu Apr 8 00:47:25 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 85485e45e51c3daf630f11643b3d78bd49d06a86
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Dec 23 06:08:45 2009 +0000

    2009-12-22  Marc-Antoine Ruel  <maruel at chromium.org>
    
            Reviewed by Adam Roben.
    
            Remove the only dependency on perl-libwin32 in cygwin
    
            * Scripts/num-cpus:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52520 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index e77efcb..f096d27 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,11 @@
+2009-12-22  Marc-Antoine Ruel  <maruel at chromium.org>
+
+        Reviewed by Adam Roben.
+
+        Remove the only dependency on perl-libwin32 in cygwin
+
+        * Scripts/num-cpus:
+
 2009-12-22  Darin Adler  <darin at apple.com>
 
         * pywebsocket/mod_pywebsocket: Added property svn:ignore to ignore
diff --git a/WebKitTools/Scripts/num-cpus b/WebKitTools/Scripts/num-cpus
index c5f28a1..ede9995 100755
--- a/WebKitTools/Scripts/num-cpus
+++ b/WebKitTools/Scripts/num-cpus
@@ -1,16 +1,3 @@
-#!/usr/bin/perl
-
-use strict;
-use warnings;
-
-use Win32API::Registry 0.21 qw( :ALL );
-
-
-my $key;
-my $i = 0;
-while (RegOpenKeyEx(HKEY_LOCAL_MACHINE, "HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\$i", 0, KEY_READ, $key)) {
-    $i++;
-    RegCloseKey($key);
-}
-
-print "$i\n"; 
+#!/bin/bash
+# Assumes cygwin.
+ls /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor | wc -w

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list