mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -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
|
@ -203,7 +203,7 @@ version_detail_bash_script {
|
|||
linux-* {
|
||||
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
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
#don't exit even if a command fails
|
||||
set +e
|
||||
|
||||
pushd $(dirname "$0")
|
||||
|
||||
SCRIPT_PATH=$(dirname "`readlink -f "${0}"`")
|
||||
|
||||
OLDLANG=${LANG}
|
||||
|
@ -32,5 +34,8 @@ if [[ ${version} != '' ]]; then
|
|||
fi
|
||||
|
||||
export LANG=${OLDLANG}
|
||||
|
||||
popd
|
||||
|
||||
echo "script version_detail.sh finished normally"
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue