Skip to content

Commit

Permalink
made SVN revision detection more portable
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/mmapper/code/trunk/mmapper@99 14c008a5-6e10-0410-bf79-c100e0f1932b
  • Loading branch information
alve committed Oct 13, 2006
1 parent 13e1458 commit 5df7b0c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/mmapper2.pro
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,11 @@ SOURCES += main.cpp \
./mapstorage/oldconnection.cpp

TARGET = mmapper2
DEFINES += SVN_REVISION=$$system("svn info | grep Revision | sed s/Revision:\ //")

SVN_REVISION=$$system("svn info | grep Revision | sed s/Revision:\ //")
!isEmpty(SVN_REVISION) {
DEFINES += SVN_REVISION=$$SVN_REVISION
}
RESOURCES += resources/mmapper2.qrc
TEMPLATE = app
DEPENDPATH += .
Expand Down

0 comments on commit 5df7b0c

Please sign in to comment.