Changeset 237 in MondoRescue for branches/2.05/tools/mksvnversion


Ignore:
Timestamp:
Dec 19, 2005, 8:23:17 PM (18 years ago)
Author:
bcornec
Message:
  • single place for VERSION numbers in mondo and mindi (Bruno Cornec)
  • revision taken from global tree, not from files for mindi/mondo tagging (Bruno Cornec)
  • chown can't be done for RPMS in install.sh
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/tools/mksvnversion

    r36 r237  
    2020#
    2121rel=`svnversion $TOOLHOME/..`
    22 cat > $TOOLHOME/../mondo/svn_version.c << EOF
    23 const char* svn_version(void) {
    24     const char* SVN_Version = "${rel}";
    25     return SVN_Version;
    26 }"
     22cat > $TOOLHOME/../mondo/revision.h << EOF
     23#define REVISION "${rel}"
     24EOF
     25cat > $TOOLHOME/../mondo/REVISION << EOF
     26${rel}
     27EOF
     28cat > $TOOLHOME/../mindi/REVISION << EOF
     29${rel}
    2730EOF
    2831
Note: See TracChangeset for help on using the changeset viewer.