[CUWiN-Dev] Re: [CU-Wireless-Support] Problems Compiling CUWireless Software...

David Young dyoung at pobox.com
Sun Oct 29 15:15:53 CST 2006


On Sun, Oct 29, 2006 at 03:14:35PM -0600, David Young wrote:
> On Sun, Oct 29, 2006 at 01:27:30PM -0600, Matt Isaacs wrote:
> > I'm not sure.  I've CC'ed our conversation to our developers mailing list.
> > Perhaps one of them will know whats going on.
> 
> I just committed a change that ought to fix this.

The patch is below.

Dave

On Sun, Oct 29, 2006 at 03:13:51PM -0600, dyoung at cuw.ojctech.com wrote:
> Author: dyoung
> Date: 2006-10-29 15:13:50 -0600 (Sun, 29 Oct 2006)
> New Revision: 4353
> 
> Modified:
>    cuw/trunk/src/boot-image/steps.d/modules
> Log:
> Process modules.d/ differently.  Hopefully this will stop the build
> from quitting like this,
> 
>         running modules.d/* obj
>         .: Can't open ./modules.d/*
>         ./mkstaboot: exiting prematurely
> 
> 
> 
> Modified: cuw/trunk/src/boot-image/steps.d/modules
> ===================================================================
> --- cuw/trunk/src/boot-image/steps.d/modules	2006-10-29 07:35:22 UTC (rev 4352)
> +++ cuw/trunk/src/boot-image/steps.d/modules	2006-10-29 21:13:50 UTC (rev 4353)
> @@ -40,11 +40,10 @@
>  		gripe "running builtin_$module $action"
>  		builtin_$module $action
>  	done
> -	if [ ! -z "$(ls modules.d/)" ] ; then
> -		for module in modules.d/* ; do
> -			gripe "running $module $action"
> -			set $action
> -			. ./$module
> -		done
> -	fi
> +	find modules.d/* -type f -o ! \( -type d -prune \) 2> /dev/null | \
> +	while read module; do
> +		gripe "running $module $action"
> +		set $action
> +		. ./$module
> +	done
>  done
> 
> _______________________________________________
> CU-Wireless-Commits mailing list
> CU-Wireless-Commits at cuwireless.net
> http://lists.chambana.net/cgi-bin/listinfo/cu-wireless-commits


-- 
David Young             OJC Technologies
dyoung at ojctech.com      Urbana, IL * (217) 278-3933


More information about the CU-Wireless-Dev mailing list