scylla-jmx/dist
Pekka Enberg b2dff7c9ff dist/redhat: Fix RPM package build
Commit 12daaf5 ("dist/redhat: fix rpm build error") did not fix the
error, at least not on our Jenkins build machines.

Looking at the RPM build logs, we create the build directory:

+ cd /builddir/build/BUILD
+ mkdir build

but then change directory to "scylla-jmx-1.2.rc1":

+ cd /builddir/build/BUILD
+ cd scylla-jmx-1.2.rc1
+ mvn install

and therefore fail the copy:

+ cp dist/common/systemd/scylla-jmx.service.in build/scylla-jmx.service
cp: cannot create regular file 'build/scylla-jmx.service': No such
file or directory

I don't know why Takuya put the "mkdir" in the "prep" section but
something like this should unblock the build.

(cherry picked from commit c6edab5990)
2016-06-01 11:00:36 +03:00
..
common dist: Support systemd for Ubuntu 15.10/16.04 2016-05-24 12:53:15 +03:00
redhat dist/redhat: Fix RPM package build 2016-06-01 11:00:36 +03:00
ubuntu dist/ubuntu: chmod a+rx on build_deb.sh 2016-05-24 12:53:15 +03:00