Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Application:Astrophotography
phd2
generate-tarball.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File generate-tarball.sh of Package phd2
#!/bin/sh if [[ -z "$1" ]]; then echo "Please provide the version (e.g. 2.6.9dev4)" exit 1 fi VERSION=$1 tar -xf phd2-$VERSION.tar.xz #Remove pre-built software rm -rf phd2-$VERSION/WinLibs rm -rf phd2-$VERSION/extra_frameworks rm -rf phd2-$VERSION/thirdparty/*.zip rm -rf phd2-$VERSION/thirdparty/*.tar.gz rm -rf phd2-$VERSION/thirdparty/*.tar.bz2 find . -name "*.dll" -type f -delete find . -name "*.lib" -type f -delete find . -name "*.dylib" -type f -delete find . -name "*.a" -type f -delete find . -name "*.so" -type f -delete rm -rf phd2-$VERSION/cameras/qhyccdlibs/qhyfirmware.zip tar -cJvf phd2-$VERSION-purged.tar.xz phd2-$VERSION #Remove temporary directory rm -rf phd2-$VERSION
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