summaryrefslogtreecommitdiff
path: root/fix-indent.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fix-indent.sh')
-rwxr-xr-xfix-indent.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/fix-indent.sh b/fix-indent.sh
new file mode 100755
index 0000000..f8a34b7
--- /dev/null
+++ b/fix-indent.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Sadly preprocessor likes to insert extra whitespace after a remap
+# This removes the space after //$$ which should mean that remaps now
+# are fully reversible by selecting the original project and running
+# this script.
+
+find src/main/ -type f -exec sed -i -e 's|//\$\$ |//$$|g' {} +