-
Notifications
You must be signed in to change notification settings - Fork 5
/
propset.sh
47 lines (38 loc) · 1.08 KB
/
propset.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#! /bin/bash
# Copyright © 2017 by DNV GL SE
# Task : Setting SVN properties.
# Author: Berthold Höllmann <[email protected]>
# ID: $Id$
author="$Author$"
date="$Date$"
version="$Revision$"
set +f
RULE=( \( -wholename ./build -prune
-o -wholename ./.tox -prune
-o -wholename ./.svn -prune
-o -wholename ./.mypy_cache -prune
-o -wholename ./cbuild -prune
-o -name .svn -prune
-o -name \*.egg-info -prune
-o -wholename ./.venv -prune
-o -wholename ./htmlcov -prune
-o -wholename ./.cache -prune \)
-o \( -name \*.org
-o -name \*.cpp
-o -name \*.h
-o -name \*.sh
-o -name \*.txt
-o -name \*.svg
-o -name \*.py
-o -name \*.html
-o -name \*.in
-o -name \*.tex
-o -name \*.txt
-o -name \*.f90 \) )
find . "${RULE[@]}" -exec svn propset svn:keywords "Author Date Id Revision" {} \;
find . "${RULE[@]}" -exec svn propset svn:eol-style native {} \;
# Local Variables:
# mode: shell-script
# coding: utf-8
# compile-command: "sh propset.sh"
# End: