Update make_rpmModule.py

This commit is contained in:
Patric Karwat committed 2025-11-06 09:36:12 +00:00
1 parent 1ddc42dda4
commit 944b12e096
1 file changed
+8 -1
+8 -1
View File
@@ -314,9 +314,16 @@ def main():
b.init() b.init()
b.printOptions() b.printOptions()
rpmbase_dir = os.path.join( os.getenv( "HOME" ), 'rpmbuild' ) # rpmbase_dir = os.path.join( os.getenv( "HOME" ), 'rpmbuild' )
rpmbase_dir = '/shd/CTC/TOOLS/rpmbuild'
# project_base_dir = '/builds/projects-domain-live/tds'
project_base_dir = os.getenv( "PROJECT_BASE_DIR" )
specdir = os.path.join( rpmbase_dir, "SPECS" ) specdir = os.path.join( rpmbase_dir, "SPECS" )
#specdir = os.path.join( rpmbase_dir, "SPECS" )
if not os.path.exists(specdir): if not os.path.exists(specdir):
os.makedirs(specdir) os.makedirs(specdir)