We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1bd9eaf + 7cbb41f commit 50033f6Copy full SHA for 50033f6
path.c
@@ -739,6 +739,12 @@ char *interpolate_path(const char *path, int real_home)
739
if (skip_prefix(path, "%(prefix)/", &path))
740
return system_path(path);
741
742
+#ifdef __MINGW32__
743
+ if (path[0] == '/') {
744
+ warning(_("encountered old-style '%s' that should be '%%(prefix)%s'"), path, path);
745
+ return system_path(path + 1);
746
+ }
747
+#endif
748
if (path[0] == '~') {
749
const char *first_slash = strchrnul(path, '/');
750
const char *username = path + 1;
0 commit comments