Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2017-05-16 10:54:05 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2017-07-05 13:52:06 -0400
commit652465a0a0e5be93b2c5df56b3e92e6166b936bd (patch)
tree8b349d68136218f878bab1566d975af7317e2343 /tools
parentb7596515b3d7efb64aa459d868131d256965a395 (diff)
downloadtame-652465a0a0e5be93b2c5df56b3e92e6166b936bd.tar.gz
tame-652465a0a0e5be93b2c5df56b3e92e6166b936bd.tar.bz2
tame-652465a0a0e5be93b2c5df56b3e92e6166b936bd.zip
tools/strip: Add utility
Diffstat (limited to 'tools')
-rwxr-xr-xtools/strip11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/strip b/tools/strip
new file mode 100755
index 0000000..4474e9f
--- /dev/null
+++ b/tools/strip
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+# Strip debugging information from object files and executables.
+#
+# Analogous to GNU strip used for ELF and other binary formats.
+# Note that calculation breakdowns will not work after stripping.
+##
+
+# debug assignments
+sed -i 's#/\*!+\*/[^!]\+/\*!-\*/##g' ui/package.js
+