Add /bin/sh to bitcoin-qt.pro - as some filesystems don't have the execute flag.
authorR E Broadley <rebroad+github@gmail.com>
Thu, 17 May 2012 15:15:28 +0000 (16:15 +0100)
committerLuke Dashjr <luke-jr+git@utopios.org>
Fri, 18 May 2012 00:07:45 +0000 (00:07 +0000)
bitcoin-qt.pro
src/makefile.linux-mingw
src/makefile.osx
src/makefile.unix

index 82bbfab..82d19fa 100644 (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 = genbuildhook
     PRE_TARGETDEPS += genbuildhook
     QMAKE_EXTRA_TARGETS += genbuild
index 8193418..540dacb 100644 (file)
@@ -69,7 +69,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
 
index be95aab..0df1519 100644 (file)
@@ -106,7 +106,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
 
index 90be398..5c45258 100644 (file)
@@ -116,7 +116,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