aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qmmp/qmmp.pro5
1 files changed, 3 insertions, 2 deletions
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) {