Fix for rpm package build.

master
Dominik Deák 4 years ago
parent 20f5028e3f
commit 2b9a467161
  1. 5
      Scripts/Build/BuildLinux.sh

@ -102,7 +102,7 @@ buildRPM() {
# and we'll do work in there. # and we'll do work in there.
rpmToplevelPath="${temporaryPath}/rpm" rpmToplevelPath="${temporaryPath}/rpm"
ln -s "${productBuildPath}/rpm" "${rpmToplevelPath}" ln -s "${productBuildPath}/rpm" "${rpmToplevelPath}" || exit 1
rpmBuildrootPath="${rpmToplevelPath}/BUILDROOT" rpmBuildrootPath="${rpmToplevelPath}/BUILDROOT"
installPath="${rpmBuildrootPath}/usr" installPath="${rpmBuildrootPath}/usr"
@ -136,13 +136,14 @@ buildRPM() {
synergy.spec \ synergy.spec \
|| exit 1 || exit 1
mv "RPMS/x86_64/"*.rpm "${binariesPath}/${productPackageName}.rpm" mv "RPMS/"*.rpm "${binariesPath}/${productPackageName}.rpm" || exit 1
popd popd
} }
set -o nounset set -o nounset
# set -o xtrace
configureCMake configureCMake
buildBinaries buildBinaries

Loading…
Cancel
Save