summaryrefslogtreecommitdiff
path: root/buildtools/compare_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/compare_install.sh')
-rwxr-xr-xbuildtools/compare_install.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/buildtools/compare_install.sh b/buildtools/compare_install.sh
new file mode 100755
index 0000000000..c3a1c23bc0
--- /dev/null
+++ b/buildtools/compare_install.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+prefix1="$1"
+prefix2="$2"
+
+(cd $prefix1 && find . -type f) | sort > p1.txt
+(cd $prefix2 && find . -type f) | sort > p2.txt
+diff -u p[12].txt