release-tools/stage-release.sh: Use 'type -p' and realpath to find $0
authorRichard Levitte <levitte@openssl.org>
Tue, 18 Apr 2023 08:17:58 +0000 (10:17 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 16 May 2023 03:54:35 +0000 (05:54 +0200)
commit1fce24a09743e599225a96dcfdb4b212f2a37714
treec42e4c7da8d3a459ffd14e206e887e91d80bfe2d
parente860bbd15081381a1b8ef91ba6df669cd78de459
release-tools/stage-release.sh: Use 'type -p' and realpath to find $0

This allows the release-aux directory to be found, even when a symbolic
link to this script is used.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/tools/pull/140)
release-tools/stage-release.sh