Browse code

Remove the extra / from rpmbuild command line.

Change-Id: Ieb087af79e325932b1f629cee4ef79c7636d54d9
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1894
Reviewed-by: Divya Thaluru <dthaluru@vmware.com>
Tested-by: gerrit-photon <photon-checkins@vmware.com>

xiaolin-vmware authored on 2016/12/20 09:03:37
Showing 1 changed files
... ...
@@ -191,7 +191,7 @@ class PackageUtils(object):
191 191
         listRPMFiles=[]
192 192
         listSRPMFiles=[]
193 193
         try:
194
-            listRPMFiles,listSRPMFiles = self.buildRPM(chrootSpecPath+"/"+specName,chrootLogsFilePath,chrootCmd,package,macros)
194
+            listRPMFiles,listSRPMFiles = self.buildRPM(chrootSpecPath +specName,chrootLogsFilePath,chrootCmd,package,macros)
195 195
         except Exception as e:
196 196
             self.logger.error("Failed while building rpm:"+package)
197 197
             raise e