[PM-10689] Fix rpm (& deb) packages not starting by following symlink (#10429)

* Fix rpm packages not starting by following wrapper-script executable symlink

* Restore newline

* Add missing space
This commit is contained in:
Bernd Schoolmann 2024-08-07 16:15:31 +02:00 committed by GitHub
parent af14c3fe6d
commit f997a094f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -3,6 +3,10 @@
# disable core dumps # disable core dumps
ulimit -c 0 ulimit -c 0
APP_PATH=$(dirname "$0") # might be behind symlink
RAW_PATH=$(readlink -f "$0")
APP_PATH=$(dirname $RAW_PATH)
# pass through all args # pass through all args
$APP_PATH/bitwarden-app "$@" $APP_PATH/bitwarden-app "$@"