Merge pull request #1333 from rebroad/AddBinSh

Add /bin/sh to bitcoin-qt.pro - as some filesystems don't have the execute flag.
This commit is contained in:
Wladimir J. van der Laan 2012-05-17 11:14:42 -07:00
commit ae2fe472c3
4 changed files with 4 additions and 4 deletions

View File

@ -83,7 +83,7 @@ contains(BITCOIN_NEED_QT_PLUGINS, 1) {
# regenerate src/build.h
!windows || contains(USE_BUILD_INFO, 1) {
genbuild.depends = FORCE
genbuild.commands = cd $$PWD; share/genbuild.sh $$OUT_PWD/build/build.h
genbuild.commands = cd $$PWD; /bin/sh share/genbuild.sh $$OUT_PWD/build/build.h
genbuild.target = $$OUT_PWD/build/build.h
PRE_TARGETDEPS += $$OUT_PWD/build/build.h
QMAKE_EXTRA_TARGETS += genbuild

View File

@ -70,7 +70,7 @@ OBJS= \
all: bitcoind.exe
obj/build.h: FORCE
../share/genbuild.sh obj/build.h
/bin/sh ../share/genbuild.sh obj/build.h
version.cpp: obj/build.h
DEFS += -DHAVE_BUILD_INFO

View File

@ -107,7 +107,7 @@ all: bitcoind
-include obj-test/*.P
obj/build.h: FORCE
../share/genbuild.sh obj/build.h
/bin/sh ../share/genbuild.sh obj/build.h
version.cpp: obj/build.h
DEFS += -DHAVE_BUILD_INFO

View File

@ -119,7 +119,7 @@ all: bitcoind
-include obj-test/*.P
obj/build.h: FORCE
../share/genbuild.sh obj/build.h
/bin/sh ../share/genbuild.sh obj/build.h
version.cpp: obj/build.h
DEFS += -DHAVE_BUILD_INFO