mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 05:54:21 +01:00
Fix a bug in a portable relative paths resolver (#483)
It turns out that this `|` was a typo. (See https://unix.stackexchange.com/questions/24293/converting-relative-path-to-absolute-path/24342?noredirect=1#comment623203_24342)
This commit is contained in:
committed by
Michel Oosterhof
parent
73aa3dfc86
commit
5eb5ec452b
@@ -15,7 +15,7 @@ find_cowrie_directory() {
|
|||||||
else
|
else
|
||||||
COWRIEDIR=$(dirname $PWD/$0)/..
|
COWRIEDIR=$(dirname $PWD/$0)/..
|
||||||
fi
|
fi
|
||||||
COWRIEDIR=$(cd ${COWRIEDIR} && pwd -P 2>/dev/null | pwd)
|
COWRIEDIR=$(cd ${COWRIEDIR} && pwd -P 2>/dev/null || pwd)
|
||||||
}
|
}
|
||||||
|
|
||||||
activate_venv() {
|
activate_venv() {
|
||||||
|
|||||||
Reference in New Issue
Block a user