~ubuntu-branches/ubuntu/trusty/kvirc/trusty-proposed

« back to all changes in this revision

Viewing changes to admin/svn_fixsvnignore.sh

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-05-18 19:36:33 UTC
  • mfrom: (24.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130518193633-d2caq4677ihxc93h
Tags: 4:4.2.0-2
Upload to unstable 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
#============================================================================
4
 
#
5
 
#   File : svn_fixsvnignore.sh
6
 
#   Creation date : Sat 30 Dec 2006 16:17:52 by Szymon Stefanek
7
 
#
8
 
#   This file is part of the KVIrc IRC Client distribution
9
 
#   Copyright (C) 2000-2009 Szymon Stefanek <pragma at kvirc dot net>
10
 
#
11
 
#   This program is FREE software. You can redistribute it and/or
12
 
#   modify it under the terms of the GNU General Public License
13
 
#   as published by the Free Software Foundation; either version 2
14
 
#   of the License, or (at your opinion) any later version.
15
 
#
16
 
#   This program is distributed in the HOPE that it will be USEFUL,
17
 
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
18
 
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19
 
#   See the GNU General Public License for more details.
20
 
#
21
 
#   You should have received a copy of the GNU General Public License
22
 
#   along with this program. If not, write to the Free Software Foundation,
23
 
#   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24
 
#
25
 
#============================================================================
26
 
 
27
 
export BASEDIR=$(pwd)
28
 
 
29
 
for a in $(find ./ -name ".svnignore"); do
30
 
        DADIR=$(echo $a | sed -e 's/[a-z\.-]*[^/]$//g')
31
 
        echo $BASEDIR/$DADIR
32
 
        cd $BASEDIR/$DADIR
33
 
        svn propset svn:ignore -F .svnignore ./
34
 
done
35
 
 
36