1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-14 17:46:17 +01:00

- build: allow to use lbuild, a compatible replacement for build

This commit is contained in:
Dr. Peter Poeml 2007-09-03 14:52:45 +00:00
parent 3e97442f4b
commit 9ce40d4bab

View File

@ -1363,7 +1363,8 @@ class Osc(cmdln.Cmdln):
import osc.build
if not os.path.exists('/usr/lib/build/debtransform'):
if not os.path.exists('/usr/lib/build/debtransform') \
and not os.path.exists('/usr/lib/lbuild/debtransform'):
sys.stderr.write('Error: you need build.rpm with version 2007.3.12 or newer.\n')
sys.stderr.write('See http://download.opensuse.org/repositories/openSUSE:/Tools/\n')
return 1