aboutsummaryrefslogtreecommitdiff
path: root/openssl/util/fixNT.sh
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/util/fixNT.sh')
-rw-r--r--openssl/util/fixNT.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/openssl/util/fixNT.sh b/openssl/util/fixNT.sh
new file mode 100644
index 000000000..ab9e766b8
--- /dev/null
+++ b/openssl/util/fixNT.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# clean up the mess that NT makes of my source tree
+#
+
+if [ -f makefile -a ! -f Makefile ]; then
+ /bin/mv makefile Makefile
+fi
+chmod +x Configure util/*
+echo cleaning
+/bin/rm -f `find . -name '*.$$$' -print` 2>/dev/null >/dev/null
+echo 'removing those damn ^M'
+perl -pi -e 's/\015//' `find . -type 'f' -print |grep -v '.obj$' |grep -v '.der$' |grep -v '.gz'`
+make -f Makefile links