Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:Ardana:8:CentOS:7.5
kafka
build.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File build.sh of Package kafka
#!/bin/bash set -xe cleanup() { rm -rf /tmp/gradle* } cleanup # Since we're making a mess in /tmp let's make sure previous runs of this script # haven't left their mess in there. # We need a writable copy of everything in the kit package because of...reasons, among them: # * Gradle attempts to create a lock file alongside its native library when # opening it # * Gradle may mess with files in its cache. # * gradle-project/ probably gets written to as well at some stage. # tar appears to be the only way to create a proper copy of # /usr/share/tetra/gradle/. `cp -a` and `cp -r` create symlinks in the gradle/ # copy in /tmp which will break the build. tar -C /usr/share/tetra -cf - gradle gradle-project gradle-2.10 | tar -C /tmp -xf - || cleanup /tmp/gradle-2.10/bin/gradle --offline --gradle-user-home /tmp/gradle --project-cache-dir /tmp/gradle-project releaseTarGz -x signArchives || cleanup cleanup
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor