From 729eb1013bc4614f2eb259c59f51542b1bfb5bec Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 25 Sep 2014 08:36:10 +0000 Subject: win32: fixed svn revision git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4516 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmp/qmmp.pro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/qmmp/qmmp.pro b/src/qmmp/qmmp.pro index 501083c7a..158a14fd2 100644 --- a/src/qmmp/qmmp.pro +++ b/src/qmmp/qmmp.pro @@ -89,8 +89,9 @@ unix { } win32 { - SVN_REVISION = $$system(./svn_revision.sh) - isEmpty(SVN_REVISION) { + isEmpty(QMAKE_SH) { + SVN_REVISION = $$system(svn_revision.cmd) + } else { SVN_REVISION = $$system(sh svn_revision.sh) } !isEmpty(SVN_REVISION) { -- cgit v1.2.3-13-gbd6f