build: tool to find missing install components
authorAndrew Tridgell <tridge@samba.org>
Fri, 19 Mar 2010 09:06:22 +0000 (20:06 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:55 +0000 (20:26 +1000)
buildtools/compare_install.sh [new file with mode: 0755]

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