pkgsrc-wip/chromium/patches/patch-printing_cups__config...

14 lines
487 B
Python

$NetBSD$
--- printing/cups_config_helper.py.orig 2020-07-15 18:56:00.000000000 +0000
+++ printing/cups_config_helper.py
@@ -67,7 +67,7 @@ def main():
mode = sys.argv[1]
if len(sys.argv) > 2 and sys.argv[2]:
sysroot = sys.argv[2]
- cups_config = os.path.join(sysroot, 'usr', 'bin', 'cups-config')
+ cups_config = os.path.join(sysroot, 'bin', 'cups-config')
if not os.path.exists(cups_config):
print('cups-config not found: %s' % cups_config)
return 1