summaryrefslogtreecommitdiffstats
path: root/util/fixNT.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/fixNT.sh')
-rwxr-xr-xutil/fixNT.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/util/fixNT.sh b/util/fixNT.sh
new file mode 100755
index 0000000..ab9e766
--- /dev/null
+++ b/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
OpenPOWER on IntegriCloud