~alaxa27/ultimate-smash-friends/mirror_trunk

« back to all changes in this revision

Viewing changes to pkg/purge.sh

  • Committer: gaby
  • Date: 2009-11-30 17:03:16 UTC
  • Revision ID: gaby@ks22672.kimsufi.com-20091130170316-6lm3v7q0torulfab
adding code package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
echo ' cleaning'
 
4
find . -name "*.swp" -exec svn rm {} +
 
5
find . -name "*.swp" -exec rm -rfv {} +
 
6
 
 
7
find . -name "*.pyc" -exec svn rm  {} +
 
8
find . -name "*.pyc" -exec rm -rfv {} +
 
9
 
 
10
 
 
11
if [ x$0 = "purge-svn-package" ]
 
12
then
 
13
    find . -name ".bzr" -exec  rm -rfv {} +
 
14
    find . -name ".svn" -exec rm -rfv {} +
 
15
fi
 
16