Commit 3b60a3a1 authored by Steffen Gebert's avatar Steffen Gebert
Browse files

Symlink-compatible detection of current working dir

As we symlink `/usr/local/bin/virt-intsaller-debian` to `/usr/local/virtinstaller/virt-install-debian`, we have to also follow the symlink, when resolving the directory name.
parent 11fe8067
......@@ -39,7 +39,7 @@ fi
SCRIPT_PATH=$(dirname $([ -L $0 ] && readlink -f $0 || echo $0))
# create passwd
PASSWORD=$(makepasswd --minchars=10 --maxchars=12)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment