mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-23 15:17:01 -04:00
Fix files which should be using DOS style newlines
This commit is contained in:
parent
a4c9fece80
commit
c85ffa76df
1 changed files with 12 additions and 1 deletions
13
util/kit.sh
13
util/kit.sh
|
|
@ -15,7 +15,7 @@
|
|||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# $Id: kit.sh,v 1.28 2004/06/03 02:45:03 marka Exp $
|
||||
# $Id: kit.sh,v 1.29 2004/12/13 02:06:53 marka Exp $
|
||||
|
||||
# Make a release kit
|
||||
#
|
||||
|
|
@ -126,6 +126,17 @@ chmod +x configure install-sh mkinstalldirs \
|
|||
lib/bind/configure lib/bind/mkinstalldirs \
|
||||
bin/tests/system/ifconfig.sh
|
||||
|
||||
# Fix files which should be using DOS style newlines
|
||||
windirs=`find lib bin -type d -name win32`
|
||||
windirs="$windirs win32utils"
|
||||
winnames="-name *.mak -or -name *.dsp -or -name *.dsw -or -name *.txt -or -name *.bat"
|
||||
for f in `find $windirs -type f \( $winnames \) -print`
|
||||
do
|
||||
awk '{sub("\r$", "", $0); printf("%s\r\n", $0);}' < $f > tmp
|
||||
touch -r $f tmp
|
||||
mv tmp $f
|
||||
done
|
||||
|
||||
cd .. || exit 1
|
||||
|
||||
kit=$topdir.tar.gz
|
||||
|
|
|
|||
Loading…
Reference in a new issue