Changeset 1817


Ignore:
Timestamp:
Nov 5, 2010 10:07:57 AM (9 years ago)
Author:
lou
Message:

Small but critical tweak to pass correct argument to PROJECTDIR_INIT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prepare_new_release

    r1767 r1817  
    408408    sed -e "s|AC_INIT\(.*\),\(\[*\)[^],]*\(\]*\),\(.*\)|AC_INIT\1,\2$newVer\3,\4|" $i > bla
    409409    mv bla $i
    410     sed -e "s|AC_COIN_PROJECTDIR_INIT(.*)|AC_COIN_PROJECTDIR_INIT\($stableProj,$newLTCurrent:$newLTRevision:$newLTAge\)|" $i > bla
     410    lastComponent=`echo $stableProj | sed -e 's|.*/\([^/][^/]*\)|\1|'`
     411    sed -e "s|AC_COIN_PROJECTDIR_INIT(.*)|AC_COIN_PROJECTDIR_INIT\($lastComponent,$newLTCurrent:$newLTRevision:$newLTAge\)|" $i > bla
    411412    mv bla $i
    412413    svn diff $i
Note: See TracChangeset for help on using the changeset viewer.