[WUWiN-Dev] empty modules.d/
Bill Comisky
bcomisky at pobox.com
Sat Feb 5 12:39:09 CST 2005
If you build as root (yes, I know I don't have to) then the build stops
when it encounters the empty modules.d directory in steps.d/modules. The
test for am empty directory passes because 'ls' as root will show the
.svn/ directory. See attached patch.
bill
--
Bill Comisky
bcomisky at pobox.com
-------------- next part --------------
Index: modules
===================================================================
--- modules (revision 2679)
+++ modules (working copy)
@@ -40,7 +40,7 @@
gripe "running builtin_$module $action"
builtin_$module $action
done
- if [ ! -z "$(ls modules.d/)" ] ; then
+ if [ ! -z "$(ls modules.d/* 2>/dev/null)" ] ; then
for module in modules.d/* ; do
gripe "running $module $action"
set $action
More information about the CU-Wireless-Dev
mailing list