mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
12 lines
230 B
Bash
Executable File
12 lines
230 B
Bash
Executable File
#!/bin/bash
|
|
|
|
JOB_COUNT=${MUSIKCUBE_BUILD_JOB_COUNT}
|
|
if [[ -z "${JOB_COUNT}" ]]; then
|
|
JOB_COUNT=2
|
|
fi
|
|
|
|
echo "configuring rpm with ${JOB_COUNT} jobs"
|
|
sed -i "s/-j2/-j${JOB_COUNT}/g" musikcube.spec
|
|
rpmbuild -ba -vv musikcube.spec
|
|
|