MT#4501 Do not follow symlink, otherwise ending up with emtpy variable

If we follow the symlink it once agains points into nirvana.
ksolomko/vlan
Michael Prokop 12 years ago
parent 627ef0a02b
commit 66ac4bab64

@ -1707,7 +1707,7 @@ vagrant_configuration() {
echo "Adjusting ssh configuration for user sipwise"
if [ -L "$TARGET/home" ] ; then
local homedir="$(readlink -f $TARGET/home)" # PRO
local homedir="$(readlink $TARGET/home)" # PRO
else
local homedir='/home' # CE/plain Debian
fi

Loading…
Cancel
Save