<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -47,7 +47,7 @@ task :prepare do |task, args|
   # Need GPG to sign the packages.
   lambda do
     args.gpg or fail &quot;Please run with gpg=&lt;argument for gpg --local-user&gt;&quot;
-    fail &quot;No GPG user #{args.gpg}&quot; if `gpg --list-keys #{args.gpg}`.empty?
+    fail &quot;No GPG user #{args.gpg}&quot; if `gpg2 --list-keys #{args.gpg}`.empty?
   end.call
 
   task(:license).invoke
@@ -104,7 +104,7 @@ task :stage=&gt;['setup', 'doc:setup', :clobber, :prepare] do |task, args|
       bytes = File.open(pkg, 'rb') { |file| file.read }
       File.open(pkg + '.md5', 'w') { |file| file.write Digest::MD5.hexdigest(bytes) &lt;&lt; ' ' &lt;&lt; File.basename(pkg) }
       File.open(pkg + '.sha1', 'w') { |file| file.write Digest::SHA1.hexdigest(bytes) &lt;&lt; ' ' &lt;&lt; File.basename(pkg) }
-      sh 'gpg', '--local-user', args.gpg, '--armor', '--output', pkg + '.asc', '--detach-sig', pkg, :verbose=&gt;true
+      sh 'gpg2', '--local-user', args.gpg, '--armor', '--output', pkg + '.asc', '--detach-sig', pkg, :verbose=&gt;true
     end
     cp 'etc/KEYS', '_staged'
     puts &quot;[X] Created and signed release packages in _staged/dist&quot;</diff>
      <filename>rakelib/stage.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b8b6fd0e2852851456f8616fda3e6c08a93e849e</id>
    </parent>
  </parents>
  <author>
    <name>Assaf Arkin</name>
    <email>assaf@apache.org</email>
  </author>
  <url>http://github.com/buildr/buildr/commit/1e7f61d440c988c4c6172f080976728ea973d81e</url>
  <id>1e7f61d440c988c4c6172f080976728ea973d81e</id>
  <committed-date>2009-04-07T11:31:40-07:00</committed-date>
  <authored-date>2009-04-07T11:31:40-07:00</authored-date>
  <message>Switched to using gpg2 executable (2.0+)

git-svn-id: https://svn.eu.apache.org/repos/asf/buildr/trunk@762894 13f79535-47bb-0310-9956-ffa450edef68</message>
  <tree>c47aa1f2d6eca7a33b8f79f6c18fab5c4353c646</tree>
  <committer>
    <name>Assaf Arkin</name>
    <email>assaf@apache.org</email>
  </committer>
</commit>
