Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
wxGTK
wxGTK-clear-source
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wxGTK-clear-source of Package wxGTK
#!/bin/bash REMOVE_DIRS=( contrib/samples/applet/monitors.c "wxPython/distrib/msw/*.[Dd][Ll][Ll]" ) set -o errexit CMDNAME=${0##*/} SOURCEDIR=${0%$CMDNAME} BASENAME=${1%.tar.bz2} trap "rm -rf \"$BASENAME-clean.tar\" \"$BASENAME-clean.tar.bz2\"" ERR for (( N=0 ; N<${#REMOVE_DIRS[@]} ; N++ )) ; do REMOVE_DIRS[N]="$BASENAME/${REMOVE_DIRS[N]}" done cd "$SOURCEDIR" >/dev/null if ! test -f "$BASENAME.tar.bz2" ; then exit 0 fi if test -f "$BASENAME-clean.tar.bz2" ; then if test "$BASENAME.tar.bz2" -ot "$BASENAME-clean.tar.bz2" ; then if test $CMDNAME -ot "$BASENAME-clean.tar.bz2" ; then exit 0 fi fi fi cp -a "$BASENAME.tar.bz2" "$BASENAME-clean.tar.bz2" bunzip2 "$BASENAME-clean.tar.bz2" tar --delete --wildcards -f "$BASENAME-clean.tar" "${REMOVE_DIRS[@]}" bzip2 -9 "$BASENAME-clean.tar"
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