<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Right now I wrap my Linux-based build process with a script that
    features the line<br>
    <blockquote>REVISION=`svn info ${SRC_PATH} | awk '/^Revision/ {
      print $2 }'`<br>
    </blockquote>
    Which is neither OS or VCS portable.<br>
    <br>
    I'm trying to put together a CPack configuration to make the builds,
    and I'd like to name the resulting installer for the revision it was
    built from.<br>
    <br>
    Is there any kind of built-in mechanism I can use for this, or would
    I be best just using IFs and executing os-specific commands? (I'm
    not quite sure how I'm going to pluck the info out under Windows)<br>
    <br>
    I'm also wondering if there is a way to query other repository
    attributes - specifically the URL - I'd like to build installers
    named<br>
    <br>
        &lt;product&gt;.&lt;branch&gt;.&lt;revision&gt;.&lt;suffix&gt;<br>
    <br>
    e.g.<br>
    <br>
        my-client.baseline.57721.deb<br>
    or<br>
        my-server.branches.1.35.57804.tbz2<br>
    <br>
    Any pointers?<br>
    <br>
    - Oliver<br>
    <br>
  </body>
</html>