diff options
-rwxr-xr-x | gen-patch-info.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gen-patch-info.py b/gen-patch-info.py index 259ec6c..5d7d899 100755 --- a/gen-patch-info.py +++ b/gen-patch-info.py @@ -26,8 +26,9 @@ if __name__ == '__main__': update_archive = True if update_archive: - os.system("reprepro -b %s --confdir reprepro/conf update"% - (Conf.archive_root,)) + os.system("env PYTHONPATH=%s reprepro -b %s --confdir reprepro/conf update"% + (os.path.dirname(os.path.realpath(sys.argv[0])), + Conf.archive_root,)) a = Archive(Conf.archive_root, suitefilter=suites, pkgfilter=packages) try: |