From af2f15d3ecd18a00a97f6188614fcfa1342b3a66 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 17 Oct 2011 10:44:51 +0200 Subject: [PATCH] Rename --- fixup-headers/fixup.sh | 20 -------------------- fixup-headers/footer.sh | 17 ----------------- 2 files changed, 37 deletions(-) delete mode 100755 fixup-headers/fixup.sh delete mode 100755 fixup-headers/footer.sh 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 - -- 1.7.10.4