From: Adam Dickmeiss Date: Mon, 17 Oct 2011 08:44:51 +0000 (+0200) Subject: Rename X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=af2f15d3ecd18a00a97f6188614fcfa1342b3a66;p=git-tools-moved-to-github.git Rename --- diff --git a/fixup-headers/fixup.sh b/fixup-headers/fixup.sh deleted file mode 100755 index 1414047..0000000 --- a/fixup-headers/fixup.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -R="$1" -if test -z "$R"; then - echo "Supply range. Eg 2006-2009" - exit 1 -fi -for f in `find . \( -name '*.[ch]' -or -name Makefile.am -or -name makefile \ - -or -name '*.cpp' -or -name '*.hpp' -or -name license.txt \ - -or -name README -or -name configure.ac -or -name '*.nsi' \ - -or -name '*.rnc' \) -print`; do - echo $f - sed "s/Copyri.*20.*Data/Copyright (C) $R Index Data/g" < $f >${f}_new - if diff $f ${f}_new >/dev/null; then - : - else - cp ${f}_new ${f} - fi - rm ${f}_new -done - diff --git a/fixup-headers/footer.sh b/fixup-headers/footer.sh deleted file mode 100755 index 9a3296e..0000000 --- a/fixup-headers/footer.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -for f in `find . \( -name '*.[ch]' -or -name '*.cpp' -or -name '*.hpp' \) -print`; do - echo $f - sed '/ * Local variables:/ { -a\ - * c-basic-offset: 4\ - * c-file-style: "Stroustrup"\ - * indent-tabs-mode: nil\ - * End:\ - * vim: shiftwidth=4 tabstop=8 expandtab\ - */\ - -q -}' < $f >${f}_new - mv ${f}_new $f -done -