Changeset 345


Ignore:
Timestamp:
Sep 28, 2012, 4:49:28 AM (11 years ago)
Author:
ehem
Message:

Sigh, certainly imperfect with entertaining quoting, when converting
from shell to Make.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/contrib/rules/functions.mk

    r344 r345  
    2020
    2121# Get the SVN revision of something (always returns a number, 0 if absent)
    22 get_svn_revision=$(shell svnversion $(1) | sed -e's/^\([0-9]*\).*$/\1/g' -e's/^$/0/g')
     22get_svn_revision=$(shell svnversion $(1) | sed -e's/^\([0-9]*\).*$$/\1/g' -e's/^$$/0/g')
    2323
Note: See TracChangeset for help on using the changeset viewer.