Updated doc dir path in fish.cpp

This commit is contained in:
ridiculousfish 2012-07-08 15:42:47 -07:00
parent 4912967eab
commit d6a0859eab

View file

@ -165,7 +165,7 @@ static struct config_paths_t determine_config_directory_paths(const char *argv0)
/* Append share, etc, doc */ /* Append share, etc, doc */
paths.data = wide_resolved_path + L"share/fish"; paths.data = wide_resolved_path + L"share/fish";
paths.sysconf = wide_resolved_path + L"etc/fish"; paths.sysconf = wide_resolved_path + L"etc/fish";
paths.doc = wide_resolved_path + L"doc"; paths.doc = wide_resolved_path + L"doc/fish";
/* But the bin_dir is the resolved_path, minus fish (aka the MacOS directory) */ /* But the bin_dir is the resolved_path, minus fish (aka the MacOS directory) */
paths.bin = str2wcstring(exec_path); paths.bin = str2wcstring(exec_path);
@ -193,7 +193,7 @@ static struct config_paths_t determine_config_directory_paths(const char *argv0)
paths.data = base_path + L"/share/fish"; paths.data = base_path + L"/share/fish";
paths.sysconf = base_path + L"/etc/fish"; paths.sysconf = base_path + L"/etc/fish";
paths.doc = base_path + L"/share/doc"; paths.doc = base_path + L"/share/doc/fish";
paths.bin = base_path + L"/bin"; paths.bin = base_path + L"/bin";
struct stat buf; struct stat buf;