Update make_rpmModule.py
This commit is contained in:
1 parent
1ddc42dda4
commit
944b12e096
1 file changed
+8
-1
+8
-1
@@ -314,9 +314,16 @@ def main():
|
||||
b.init()
|
||||
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" )
|
||||
if not os.path.exists(specdir):
|
||||
os.makedirs(specdir)
|
||||
|
||||
|
||||
Reference in new issue
Block a user