Add mechanisms to reformant and check code style (#128)
[openjpeg.git] / scripts / remove_temporary_files.sh
1 #!/bin/bash
2 ###########################################################################
3 #    remove_git_confict_files.sh
4 #    ---------------------
5 #    Date                 : April 2012
6 #    Copyright            : (C) 2012 by Tim Sutton
7 #    Email                : tim at kartoza dot com
8 ###########################################################################
9 #                                                                         #
10 #   This program is free software; you can redistribute it and/or modify  #
11 #   it under the terms of the GNU General Public License as published by  #
12 #   the Free Software Foundation; either version 2 of the License, or     #
13 #   (at your option) any later version.                                   #
14 #                                                                         #
15 ###########################################################################
16
17 #
18 # A simple script to get rid of QGIS related temporary files left in 
19 # your QGIS source folder by git
20
21 # Tim Sutton, May 2008
22 find . \
23   \( \
24        -name "*.orig" \
25     -o -name "*.prepare" \
26     -o -name "*.sortinc" \
27     -o -name "*.unify_includes_modified" \
28     -o -name "*.nocopyright" \
29     -o -name "astyle*.diff" \
30     -o -name "sha-*.diff" \
31     -o -name "*.astyle" \
32     -o -name "sha*.diff" \
33     -o -name "*.bom" \
34     -o -name "*.bak" \
35     -o -name "*.rej" \
36     -o -name "*.orig" \
37     -o -name "*.new" \
38     -o -name "*~" \
39   \) \
40   -print \
41   -delete