Browse Source

fix typo which caused blank version when compiling without the build script

This was introduced in e8880cb6d7ac0853b5f2ac9c840fea8392a73bef
Ashish Kulkarni 11 years ago
parent
commit
d62f03b7d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common.pri

+ 1 - 1
common.pri

@@ -44,7 +44,7 @@ QT += webkit network xmlpatterns svg
 
 # version related information
 VERSION_TEXT=$$(WKHTMLTOX_VERSION)
-isEmpty(VERSION_TEXT): $$cat($$PWD/VERSION)
+isEmpty(VERSION_TEXT): VERSION_TEXT=$$cat($$PWD/VERSION)
 VERSION_LIST=$$split(VERSION_TEXT, "-")
 count(VERSION_LIST, 1) {
     VERSION=$$VERSION_TEXT