usefull script to track modules packaging status
authorx2000habouzit <x2000habouzit>
Wed, 24 Nov 2004 11:10:28 +0000 (11:10 +0000)
committerx2000habouzit <x2000habouzit>
Wed, 24 Nov 2004 11:10:28 +0000 (11:10 +0000)
scripts/devel/modules_status [new file with mode: 0755]

diff --git a/scripts/devel/modules_status b/scripts/devel/modules_status
new file mode 100755 (executable)
index 0000000..1b5dd9b
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/zsh
+
+chdir ${1:-.}
+
+dirs=(configs htdocs include plugins scripts templates)
+opts=(-type f -not -path '*CVS*' -not -name '.cvsignore')
+
+diff -u <(cat install.d/**/files|sort) <(find $dirs $opts|sort) \
+    | grep '^[-+][a-z]' | sed -e 's,^+,Orphaned: ,;s,^-,Missing : ,'