Changeset 7f6ba8cd for build.xml


Ignore:
Timestamp:
Nov 24, 2017 11:39:05 AM (2 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
a3a17a4f
Parents:
6cd5f1d8
Message:

Enable overriding of the gpg binary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    r6cd5f1d8 r7f6ba8cd  
    8282    </target>
    8383
     84    <property name="gpg" value="gpg" />
     85
    8486    <macrodef name="gpgsign">
    8587        <attribute name="file" />
    8688        <sequential>
    8789            <delete file="@{file}.sig" quiet="true" />
    88             <exec executable="gpg" failonerror="true">
    89                 <arg value="--default-key" />
     90            <exec executable="${gpg}" failonerror="true">
     91                <arg value="-u" />
    9092                <arg value="${release.gpg.keyid}" />
    9193                <arg value="-b" />
     
    104106        <sequential>
    105107            <delete file="@{file}.asc" quiet="true" />
    106             <exec executable="gpg" failonerror="true">
    107                 <arg value="--default-key" />
     108            <exec executable="${gpg}" failonerror="true">
     109                <arg value="-u" />
    108110                <arg value="${release.gpg.keyid}" />
    109111                <arg value="-ab" />
Note: See TracChangeset for help on using the changeset viewer.