Fixed version_detail_bash_script with shadow build

This commit is contained in:
thunder2 2016-05-17 19:02:14 +02:00
parent ea6431e276
commit 5f5ce4ab63
4 changed files with 12 additions and 2 deletions

View file

@ -123,7 +123,7 @@ version_detail_bash_script {
DEFINES += ADD_LIBRETROSHARE_VERSION_INFO
QMAKE_EXTRA_TARGETS += write_version_detail
PRE_TARGETDEPS = write_version_detail
write_version_detail.commands = ./version_detail.sh
write_version_detail.commands = $$PWD/version_detail.sh
}
win32 {
QMAKE_EXTRA_TARGETS += write_version_detail

View file

@ -5,6 +5,8 @@
#don't exit even if a command fails
set +e
pushd $(dirname "$0")
OLDLANG=${LANG}
export LANG=C
@ -34,5 +36,8 @@ if (ls &> /dev/null); then
fi
export LANG=${OLDLANG}
popd
echo "version_detail.sh scripts finished"
exit 0