Commit 83071a10 authored by Derek Wyatt's avatar Derek Wyatt Committed by Phil Eichinger
Browse files

Fixed: If you callvim on a non-existant file with a relative path, the CWD of...

Fixed: If you callvim on a non-existant file with a relative path, the CWD of the running gvim process is used, and that's not right.  We use the PWD explicitly instead, in this case
parent cdea478f
......@@ -8,8 +8,10 @@ function resolveFile
{
if [ -f "$1" ]; then
echo $(readlink -f "$1")
elif [[ "${1#/}" == "$1" ]]; then
echo "$(pwd)/$1"
else
echo "$1"
echo $1
fi
}
......
Markdown is supported
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