[jhbuild] [tarball] also look in parent directory when searching for remote patches
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild] [tarball] also look in parent directory when searching for remote patches
- Date: Thu, 21 May 2009 05:49:21 -0400 (EDT)
commit 7488632cb90154d19821c32a28b34dba5756c96d
Author: Frédéric Péters <fpeters 0d be>
Date: Thu May 21 11:48:11 2009 +0200
[tarball] also look in parent directory when searching for remote patches
---
jhbuild/versioncontrol/tarball.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/jhbuild/versioncontrol/tarball.py b/jhbuild/versioncontrol/tarball.py
index 4fb5608..b2e28e7 100644
--- a/jhbuild/versioncontrol/tarball.py
+++ b/jhbuild/versioncontrol/tarball.py
@@ -226,7 +226,7 @@ class TarballBranch(Branch):
elif self.repository.moduleset_uri:
# get it relative to the moduleset uri, either in the same
# directory or a patches/ subdirectory
- for patch_prefix in ('.', 'patches'):
+ for patch_prefix in ('.', 'patches', '../patches'):
uri = urlparse.urljoin(self.repository.moduleset_uri,
os.path.join(patch_prefix, patch))
try:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]