Browse Source

Improved lib/sde-package/patch-copyright.sh to remove trailing spaces from the copyright note

karasz/new-early
Alejandro Mery 18 years ago
parent
commit
6e8e1a0e59
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      lib/sde-package/patch-copyright.sh

+ 4
- 4
lib/sde-package/patch-copyright.sh

@ -1,14 +1,14 @@
#!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: lib/sde-package/patch-copyright.sh
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2005 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
#
# More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
@ -220,7 +220,7 @@ ${posttag:+$posttag\\
/\n}|;" $copynote
fi
# we need a separated sed call because $rockcopyright adds a new line
} | sed -e "s,^,$tag,"
} | sed -e "s,^,$tag," -e 's,[ \t]\+$,,'
grep -A 100000 -- "--- $NOTEMARKER-END ---" $oldfile
} > $newfile

Loading…
Cancel
Save