Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
gdb
clean.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File clean.sh of Package gdb
#!/bin/sh dryrun=false while [ $# -gt 0 ]; do case $1 in -dryrun|--dryrun|-dry-run|--dry-run) dryrun=true ;; *) echo "Don't know how to handle arg: $1" exit 1 esac shift done first=true for f in *.patch; do if grep -q "^Patch.*[ \t]$f" gdb.spec; then continue fi if $dryrun; then if $first; then echo "Patches not mentioned in gdb.spec:" fi first=false echo "$f" continue fi ( set -x; osc remove -f "$f" ) done files=$(echo ./*~) if [ "$files" != "./*~" ]; then if $dryrun; then echo "Backup files:" echo "$files" else for f in $files; do ( set -x; rm -f "$f" ) done fi fi
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