Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2005 20:45:33 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Andrea Campi <andrea+freebsd_cvs_all@webcom.it>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/tools/tools/nanobsd Makefile 
Message-ID:  <9388.1111088733@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 17 Mar 2005 18:20:25 %2B0100." <20050317172025.GO1166@webcom.it> 

next in thread | previous in thread | raw e-mail | index | archive | help

done.

Thanks for reminding me, I only remember when my customize scripts
fail :-)

Poul-Henning

In message <20050317172025.GO1166@webcom.it>, Andrea Campi writes:
>On Sat, Mar 12, 2005 at 08:41:26PM +0000, Poul-Henning Kamp wrote:
>> phk         2005-03-12 20:41:26 UTC
>> 
>>   FreeBSD src repository
>> 
>>   Modified files:
>>     tools/tools/nanobsd  Makefile 
>>   Log:
>>   DTRT with /var so that any packages installed are correctly recorded.
>
>Now that this has been committed, I only have one local diff, it would
>be amazing if you could consider doing something along these lines.
>
>Oh, and thanks! ;-)
>
>
>--- /usr/src/tools/tools/nanobsd/Makefile       Wed Mar 16 16:42:59 2005
>+++ Makefile    Thu Mar 17 18:15:09 2005
>@@ -71,16 +71,17 @@
> #
> Customize:     _.cs
> _.cs:  _.iw _.di _.ik _.di
>+       touch _.cs.tmp
> .for cust in ${CUSTOMIZE}
> .if exists(${.CURDIR}/Customize/${${cust}})
>-       sh -e ${.CURDIR}/Customize/${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS}
>+       sh -e ${.CURDIR}/Customize/${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} >> _.cs.tmp 2>&1
> .elif exists(${.CURDIR}/${${cust}})
>-       sh -e ${.CURDIR}/${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS}
>+       sh -e ${.CURDIR}/${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} >> _.cs.tmp 2>&1
> .else
>-       sh -e ${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS}
>+       sh -e ${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} >> _.cs.tmp 2>&1
> .endif
> .endfor
>-       touch _.cs
>+       mv _.cs.tmp _.cs
>
> ###########################################################################
> #
>
>
>-- 
>   "One world, one web, one program"  -- Microsoft promotional ad
>         "Ein Volk, ein Reich, ein Fuehrer"  -- Adolf Hitler
>

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9388.1111088733>