mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 16:45:11 -04:00
Fixed version_detail_bash_script with shadow build
This commit is contained in:
parent
ea6431e276
commit
5f5ce4ab63
4 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue