xref: /minix3/crypto/external/bsd/openssl/dist/util/fixNT.sh (revision ebfedea0ce5bbe81e252ddf32d732e40fb633fae)
1*ebfedea0SLionel Sambuc#!/bin/sh
2*ebfedea0SLionel Sambuc#
3*ebfedea0SLionel Sambuc# clean up the mess that NT makes of my source tree
4*ebfedea0SLionel Sambuc#
5*ebfedea0SLionel Sambuc
6*ebfedea0SLionel Sambucif [ -f makefile -a ! -f Makefile ]; then
7*ebfedea0SLionel Sambuc	/bin/mv makefile Makefile
8*ebfedea0SLionel Sambucfi
9*ebfedea0SLionel Sambucchmod +x Configure util/*
10*ebfedea0SLionel Sambucecho cleaning
11*ebfedea0SLionel Sambuc/bin/rm -f `find . -name '*.$$$' -print` 2>/dev/null >/dev/null
12*ebfedea0SLionel Sambucecho 'removing those damn ^M'
13*ebfedea0SLionel Sambucperl -pi -e 's/\015//' `find . -type 'f' -print |grep -v '.obj$' |grep -v '.der$' |grep -v '.gz'`
14*ebfedea0SLionel Sambucmake -f Makefile links
15