Ignore:
Timestamp:
Aug 20, 2015 12:37:25 AM (7 years ago)
Author:
ldelgass
Message:

Fix getting svn revision when srcdir path contains symlinks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lang/tcl/src/Makefile.in

    r4364 r5811  
    4040  -I$(includedir)
    4141RAPPTURE_VERSION = @PACKAGE_VERSION@
    42 SVN_VERSION     := $(shell svnversion $(srcdir) | sed 's/Unversioned directory/unknown/')
     42SVN_VERSION     := $(shell readlink -e $(srcdir) | xargs svnversion | sed 's/Unversioned directory/unknown/')
    4343DEFINES         = -DSVN_VERSION=\"$(SVN_VERSION)\" \
    4444                  -DRAPPTURE_VERSION=\"$(RAPPTURE_VERSION)\"
Note: See TracChangeset for help on using the changeset viewer.