Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
lmms
precheckin_cripple_tarball.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File precheckin_cripple_tarball.sh of Package lmms
# The following source parts of lmms may not be distributed for legal # reasons (bnc#761147) # Thus we have to cripple the source tree in a way that it still builds. # Find source tarball + unpack tmp="$(mktemp)" trap 'rm -f $tmp; echo 1>&2 "$0 failed"' EXIT tarsource="$(echo lmms-*[0-9].tar.bz2)" if [ ! -s "$tarsource" ] ; then echo "Error: cannot find source tarball" exit 1 fi tarbase="${tarsource%.tar.bz2}" tardest="$tarbase-crippled.tar.bz2" rm -rf lmms-*-crippled.tar.bz2 # Cripple source echo 1>&2 "Crippling..." files=$(tar -tf ${tarsource} | fgrep /data/projects/OldStuff/Malex-Horizon4.mmp) bzip2 -cd ${tarsource} > ${tmp} tar --delete --file=${tmp} ${files} bzip2 -c ${tmp} > ${tardest} echo 1>&2 "" echo 1>&2 "Successfully crippled tarball. :-(" echo 1>&2 "" rm -rf $tmp trap - EXIT exit 0
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