1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-06 15:43:39 +02:00

- use absolute pathnames for preferred package dirs

This commit is contained in:
Marcus Hüwe
2008-05-04 14:00:42 +00:00
parent 602c146663
commit f041ee43ba

View File

@@ -196,7 +196,7 @@ def get_prefer_pkgs(dirs, wanted_arch):
import glob
paths = []
for dir in dirs:
paths += glob.glob(os.path.join(dir, '*.rpm'))
paths += glob.glob(os.path.join(os.path.abspath(dir), '*.rpm'))
prefer_pkgs = []
for path in paths: