summaryrefslogtreecommitdiff
path: root/buildtools/compare_install.sh
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-19 20:06:22 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:55 +1000
commit8ea03369bcd8ebb351e280222184f6d583640f46 (patch)
tree12a4d7cecf7261676f4c8736452bd01a2adba636 /buildtools/compare_install.sh
parent5025ca10c6845af888a80a57a012c19fde6482ae (diff)
downloadsamba-8ea03369bcd8ebb351e280222184f6d583640f46.tar.gz
build: tool to find missing install components
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 00000000000..c3a1c23bc0e
--- /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