bfdirfix.patch
text/x-patch
Filename: bfdirfix.patch
Type: text/x-patch
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: unified
| File | + | − |
|---|---|---|
| PGBuild/Utils.pm | 2 | 2 |
diff --git a/PGBuild/Utils.pm b/PGBuild/Utils.pm index b97de92..d96dcec 100644 --- a/PGBuild/Utils.pm +++ b/PGBuild/Utils.pm @@ -417,7 +417,7 @@ sub check_install_is_complete $tmp_loc = "$tmp_loc/$install_dir"; $bindir = "$tmp_loc/bin"; $libdir = "$tmp_loc/lib"; - $libdir .= '/postgresql' unless $libdir =~ /postgres|pgsql/; + $libdir .= '/postgresql' unless $install_dir =~ /postgres|pgsql/; return (-d $bindir && -d $libdir); } elsif (-e "$build_dir/src/Makefile.global") # i.e. not msvc @@ -429,7 +429,7 @@ sub check_install_is_complete $tmp_loc = "$tmp_loc/$install_dir"; $bindir = "$tmp_loc/bin"; $libdir = "$tmp_loc/lib"; - $libdir .= '/postgresql' unless $libdir =~ /postgres|pgsql/; + $libdir .= '/postgresql' unless $install_dir =~ /postgres|pgsql/; } # these files should be present if we've temp_installed everything,