<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,3 @@
-#!/bin/sh
-# XXX assuming that we're going to be run from inside the gem installation
-`dirname $0`/pprof `which ruby` $*
\ No newline at end of file
+#!/usr/bin/env ruby
+cmd = &quot;#{File.dirname(__FILE__)}/pprof #{`which ruby`.strip} #{ARGV.join(&quot; &quot;)}&quot;
+exec(cmd)</diff>
      <filename>bin/pprof.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>948f0e8e29050d8bb4fabc738b5cbef6f87dc245</id>
    </parent>
  </parents>
  <author>
    <name>Aman Gupta</name>
    <email>aman@tmm1.net</email>
  </author>
  <url>http://github.com/tmm1/perftools.rb/commit/550c69a88e7c2304325246f266547f42efb8b1a6</url>
  <id>550c69a88e7c2304325246f266547f42efb8b1a6</id>
  <committed-date>2009-06-01T02:39:17-07:00</committed-date>
  <authored-date>2009-06-01T02:39:17-07:00</authored-date>
  <message>Fix pprof.rb wrapper</message>
  <tree>3c51b8ba955ce54165c03d905acf8fdf72d1491c</tree>
  <committer>
    <name>Aman Gupta</name>
    <email>aman@tmm1.net</email>
  </committer>
</commit>
