ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1241158 - /ant/core/trunk/release/signit.xml
Date Mon, 06 Feb 2012 20:30:06 GMT
Author: bodewig
Date: Mon Feb  6 20:30:06 2012
New Revision: 1241158

URL: http://svn.apache.org/viewvc?rev=1241158&view=rev
Log:
make it work on Linux

Modified:
    ant/core/trunk/release/signit.xml

Modified: ant/core/trunk/release/signit.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/release/signit.xml?rev=1241158&r1=1241157&r2=1241158&view=diff
==============================================================================
--- ant/core/trunk/release/signit.xml (original)
+++ ant/core/trunk/release/signit.xml Mon Feb  6 20:30:06 2012
@@ -29,8 +29,12 @@
         location="${user.home}/.m2/repository/org/bouncycastle/bcpg-jdk12/130/bcpg-jdk12-130.jar"/>
     </classpath>
   </taskdef>
-  <signer secring="${user.home}/AppData/Roaming/gnupg/secring.gpg"
-    pubring="${user.home}/AppData/Roaming/gnupg/pubring.gpg" password="${password}" keyid="${keyid}">
+  <condition property="gpg.dir" value="${user.home}/AppData/Roaming/gnupg">
+    <os family="windows"/>
+  </condition>
+  <property name="gpg.dir" location="${user.home}/.gnupg"/>
+  <signer secring="${gpg.dir}/secring.gpg"
+    pubring="${gpg.dir}/pubring.gpg" password="${password}" keyid="${keyid}">
     <fileset dir="../java-repository">
       <include name="**/*.jar"/>
       <include name="**/*.pom"/>



Mime
View raw message