mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
scripts: Allow checkShellScripts.sh to be run from its parent directory
... on systems that don't have realpath. Part of 31679.
This commit is contained in:
parent
796a9b37ea
commit
8c37bf738d
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ if command -v realpath ; then
|
|||
HERE=$(dirname "$(realpath "$0")")
|
||||
else
|
||||
HERE=$(dirname "$0")
|
||||
if [ ! -d "$HERE" ]; then
|
||||
if [ ! -d "$HERE" ] || [ "$HERE" = "." ]; then
|
||||
HERE=$(dirname "$PWD/$0")
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue