From 3d4aa4303537da9072f9697a1e8feb149765ff51 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Wed, 24 Nov 2004 11:10:28 +0000 Subject: [PATCH] usefull script to track modules packaging status --- scripts/devel/modules_status | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 scripts/devel/modules_status diff --git a/scripts/devel/modules_status b/scripts/devel/modules_status new file mode 100755 index 0000000..1b5dd9b --- /dev/null +++ b/scripts/devel/modules_status @@ -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 : ,' -- 2.1.4