File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ function buildDebPackage(arch) {
320320 return shell . task ( [
321321 'chmod 755 code-' + debArch + '/DEBIAN/postinst ' + 'code-' + debArch + '/DEBIAN/prerm' ,
322322 'mkdir -p deb' ,
323- 'fakeroot dpkg-deb -b code-' + debArch + ' deb/code -' + debArch + '.deb' ,
323+ 'fakeroot dpkg-deb -b code-' + debArch + ' deb/' + product . applicationName + ' -' + debArch + '.deb' ,
324324 'dpkg-scanpackages deb /dev/null > Packages'
325325 ] , { cwd : '.build/linux/deb/' + debArch } ) ;
326326}
@@ -378,7 +378,7 @@ function buildRpmPackage(arch) {
378378 return shell . task ( [
379379 'mkdir -p ' + destination ,
380380 'HOME="$(pwd)/' + destination + '" fakeroot rpmbuild -bb ' + rpmBuildPath + '/SPECS/' + product . applicationName + '.spec --target=' + rpmArch ,
381- 'cp "' + rpmOut + '/$(ls ' + rpmOut + ')" ' + destination + '/code -' + rpmArch + '.rpm' ,
381+ 'cp "' + rpmOut + '/$(ls ' + rpmOut + ')" ' + destination + '/' + product . applicationName + ' -' + rpmArch + '.rpm' ,
382382 'createrepo ' + destination
383383 ] ) ;
384384}
You can’t perform that action at this time.
0 commit comments