diff options
author | waker <wakeroid@gmail.com> | 2011-01-02 14:13:26 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-01-02 17:03:47 +0100 |
commit | c38896db361a3dc571fe283c8cf5847bc4c6c6c9 (patch) | |
tree | ad04aa266371258af91b99df828715062b6866fa /scripts | |
parent | 66b970acc89133b8c2e30d06d2e9fd2936452951 (diff) |
updated copyright year to 2011
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/insertlicense.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/scripts/insertlicense.sh b/scripts/insertlicense.sh deleted file mode 100755 index b046a61c..00000000 --- a/scripts/insertlicense.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -echo "IMPORTANT: Hit C-c if you forgot to backup/commit stuff!!!" -read -ls *.c *.h *.cpp | while read i; do - if [ "$i" == "deadbeef.h" ] || [ "$i" == "config.h" ] || grep --silent "DO NOT EDIT" "$i" ; then - echo "skipping $i (blacklist)" - elif grep --silent "DeaDBeeF - ultimate music player for GNU/Linux systems with X11" "$i" ; then - if grep --silent "version 3 of the License" "$i" ; then - echo "changing $i to gpl2" - sed -i 's/version 3 of the License/version 2 of the License/' "$i" - else - echo "skipping $i (already has license)" - fi - else - echo "adding license text to $i" - cat shortlicense >/tmp/deadbeef.lic.tmp - cat "$i" >>/tmp/deadbeef.lic.tmp - mv /tmp/deadbeef.lic.tmp "$i" - fi -done |