mirror of
https://codeberg.org/librewolf/source.git
synced 2025-01-03 03:10:07 -05:00
disable bootstrap patch, fix small error in upstream implementation
This commit is contained in:
parent
6ba51309d1
commit
b379088c95
2 changed files with 23 additions and 1 deletions
|
@ -1,6 +1,5 @@
|
|||
patches/allow-JXL-in-non-nightly-browser.patch
|
||||
patches/allow-ubo-private-mode.patch
|
||||
patches/bootstrap-without-vcs.patch
|
||||
patches/context-menu.patch
|
||||
patches/custom-ubo-assets-bootstrap-location.patch
|
||||
patches/dbus_name.patch
|
||||
|
@ -11,6 +10,7 @@ patches/librewolf-pref-pane.patch
|
|||
patches/librewolf-prefs.patch
|
||||
patches/mozilla_dirs.patch
|
||||
patches/msix.patch
|
||||
patches/relative-bootstrap.patch
|
||||
patches/remove_addons.patch
|
||||
patches/sed-patches/allow-searchengines-non-esr.patch
|
||||
patches/sed-patches/disable-pocket.patch
|
||||
|
|
22
patches/relative-bootstrap.patch
Normal file
22
patches/relative-bootstrap.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
--- a/python/mozversioncontrol/mozversioncontrol/__init__.py
|
||||
+++ b/python/mozversioncontrol/mozversioncontrol/__init__.py
|
||||
@@ -828,7 +828,7 @@ class SrcRepository(Repository):
|
||||
"""
|
||||
res = []
|
||||
# move away the .git or .hg folder from path to more easily test in a hg/git repo
|
||||
- for root, dirs, files in os.walk("."):
|
||||
+ for root, dirs, files in os.walk(path):
|
||||
for name in files:
|
||||
res.append(os.path.join(root, name))
|
||||
return res
|
||||
@@ -841,7 +841,9 @@ class SrcRepository(Repository):
|
||||
import fnmatch
|
||||
|
||||
files = list(
|
||||
- p.replace("\\", "/").replace("./", "") for p in self.get_files(path) if p
|
||||
+ (os.path.relpath(p, path)).replace("\\", "/")
|
||||
+ for p in self.get_files(path)
|
||||
+ if p
|
||||
)
|
||||
files.sort()
|
||||
ig = self.git_ignore(path)
|
Loading…
Reference in a new issue