modify os env

This commit is contained in:
Patric Karwat committed 2026-04-10 08:22:23 +02:00
1 parent 4e3dbd136c
commit 619e615490
1 file changed
+1 -1
+1 -1
View File
@@ -70,7 +70,7 @@ class build(object):
if os.path.exists( os.path.join( specdir, specname ) ): if os.path.exists( os.path.join( specdir, specname ) ):
return specname return specname
specname = 'lts.spec' specname = 'lts.spec'
specname = 'lts' + str(os.getenv( "BUILD_VERSION" )) + '.spec' specname = 'lts' + str(os.getenv( "OS_VERSION" )) + '.spec'
debug( "specname: %s" % os.path.join( specdir, specname ) ) debug( "specname: %s" % os.path.join( specdir, specname ) )
if os.path.exists( os.path.join( specdir, specname ) ): if os.path.exists( os.path.join( specdir, specname ) ):
return specname return specname