Skip to content

Commit 88aba55

Browse files
authored
Merge pull request #268 from Skycoder42/master
Fixed shadowed build (fixes #267)
2 parents 9be9afc + 4830aa2 commit 88aba55

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tools/linuxdeployqt/linuxdeployqt.pro

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,27 @@ load(qt_tool)
1212

1313
HEADERS += shared.h
1414
SOURCES += main.cpp \
15-
shared.cpp
15+
shared.cpp
1616

1717
DEFINES -= QT_USE_QSTRINGBUILDER #leads to compile errors if not disabled
1818

1919
# versioning
2020
# don't break the quotes -- at the moment, the shell commands are injected into the Makefile to have them run on every
2121
# build and not during configure time
2222

23-
DEFINES += LINUXDEPLOYQT_GIT_COMMIT="'\"$(shell git rev-parse --short HEAD)\"'"
23+
DEFINES += LINUXDEPLOYQT_GIT_COMMIT="'\"$(shell cd $$PWD && git rev-parse --short HEAD)\"'"
2424

2525
DEFINES += BUILD_DATE="'\"$(shell env LC_ALL=C date -u '+%Y-%m-%d %H:%M:%S %Z')\"'"
2626

2727
_BUILD_NUMBER = $$(TRAVIS_BUILD_NUMBER)
2828

2929
isEmpty(_BUILD_NUMBER) {
30-
message(Not building on Travis CI, tagging build as local dev build)
30+
message("Not building on Travis CI, tagging build as local dev build")
3131
DEFINES += BUILD_NUMBER="'\"<local dev build>\"'"
3232
} else {
33-
message(Building on Travis CI build, build number $$_BUILD_NUMBER)
33+
message("Building on Travis CI build, build number $$_BUILD_NUMBER")
3434
DEFINES += BUILD_NUMBER="'\"$$_BUILD_NUMBER\"'"
3535
}
3636

37-
DEFINES += LINUXDEPLOYQT_VERSION="'\"$(shell git describe --tags $(shell git rev-list --tags --skip=1 --max-count=1) --abbrev=0)\"'"
38-
DEFINES += EXCLUDELIST=\""$$system($$_PRO_FILE_PWD_/../excludelist.sh)"\"
37+
DEFINES += LINUXDEPLOYQT_VERSION="'\"$(shell cd $$PWD && git describe --tags $(shell cd $$PWD && git rev-list --tags --skip=1 --max-count=1) --abbrev=0)\"'"
38+
DEFINES += EXCLUDELIST=\""$$system($$_PRO_FILE_PWD_/../excludelist.sh)"\"

0 commit comments

Comments
 (0)