[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:
parent
af14c3fe6d
commit
f997a094f7
|
@ -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 "$@"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue