diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-10-21 22:39:20 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-10-21 22:39:20 +0800 |
commit | 4d0b9151a441805d434206411a089e0fe3dbe3fc (patch) | |
tree | c3bd54ec9f5e0d0dc0e2e8020acc273acc31d253 /Tools/scripts | |
parent | cbc91e7b48faa39f045eb730f0261288dc8af0e9 (diff) | |
download | freebsd-ports-gnome-4d0b9151a441805d434206411a089e0fe3dbe3fc.tar.gz freebsd-ports-gnome-4d0b9151a441805d434206411a089e0fe3dbe3fc.tar.zst freebsd-ports-gnome-4d0b9151a441805d434206411a089e0fe3dbe3fc.zip |
s|pkg/PLIST|pkg-plist|g
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/gnomedepends.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/scripts/gnomedepends.py b/Tools/scripts/gnomedepends.py index d1426912ed64..74041a142f97 100755 --- a/Tools/scripts/gnomedepends.py +++ b/Tools/scripts/gnomedepends.py @@ -68,7 +68,7 @@ newgnomeports = [] regobj = re.compile('^@dirrm (?P<dirname>\S+).*$') for portdir in gnomeports: try: - lines = readfile(os.path.join(portdir, 'pkg/PLIST')) + lines = readfile(os.path.join(portdir, 'pkg-plist')) lines = filter(lines, regobj) if len(lines) > 0: newgnomeports.append([portdir, lines]) @@ -78,7 +78,7 @@ gnomeports = newgnomeports newgnomeports = [] try: - currplist = readfile('pkg/PLIST') + currplist = readfile('pkg-plist') except IOError, errmsg: print errmsg sys.exit(1) @@ -118,7 +118,7 @@ if len(depends) == 0: sys.stdout.writelines(['No dependencies found (maybe it is not a GNOME port).\n']) sys.exit(0) -sys.stdout.writelines(['According to the contents of PLIST the port depends on the following GNOME\n', 'port(s):\n\n']) +sys.stdout.writelines(['According to the contents of pkg-plist the port depends on the following GNOME\n', 'port(s):\n\n']) for depend in depends: sys.stdout.writelines([depend[0], ', for directories:\n']) for dir in depend[1]: |