summaryrefslogtreecommitdiffstats
path: root/tools/encap-util-expand.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/encap-util-expand.sh')
-rwxr-xr-xtools/encap-util-expand.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/encap-util-expand.sh b/tools/encap-util-expand.sh
new file mode 100755
index 000000000..2bb3f7f62
--- /dev/null
+++ b/tools/encap-util-expand.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+# $Id$
+
+# This gets the encaps out of a makeself .run file
+
+for RUN in $(find . -type f | grep run$); do
+ DIR="$(dirname $RUN)"
+ $RUN --noexec --keep --target $DIR
+done
+
+exit 0