Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a34d2f3341c555963a47048155a152ae24826d06

commit a34d2f3341c555963a47048155a152ae24826d06
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Wed Sep 19 16:58:05 2007 +0200

t/emptydirs: new test
such dirs can be easily accidently created when moving packages across
categories

diff --git a/t/emptydirs b/t/emptydirs
new file mode 100755
index 0000000..0ab2981
--- /dev/null
+++ b/t/emptydirs
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+if [ "$1" ==  "--help" ]; then
+       echo "empty source directories without a FrugalBuild file"
+       exit 1
+fi
+
+cd ..
+
+for i in source/*/*/
+do
+       [ ! -e $i/FrugalBuild ] && echo "$i: FrugalBuild is missing from 
directory"
+done
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to