Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ansible-cmdb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ find_py_bin () {

# Find path to the real ansible-cmdb python script
find_cmdb_bin () {
BIN_DIR=$(dirname "$0")
BIN_DIR=$(dirname "$(readlink -f "$0")")
if [ -f "$BIN_DIR/ansible-cmdb.py" ]; then
dbg "Trying ansible-cmdb bin: $BIN_DIR/ansible-cmdb.py"
echo "$BIN_DIR/ansible-cmdb.py"
Expand Down