build: tool to find missing install components
[nivanova/samba-autobuild/.git] / buildtools / compare_install.sh
diff --git a/buildtools/compare_install.sh b/buildtools/compare_install.sh
new file mode 100755 (executable)
index 0000000..c3a1c23
--- /dev/null
@@ -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