Date: Sat, 28 Oct 1995 20:14:50 +0800 (WST) From: Peter Wemm <peter@jhome.DIALix.COM> To: "Andrey A. Chernov" <ache@freefall.freebsd.org> Cc: cvs-bin@freefall.freebsd.org, CVS-commiters@freefall.freebsd.org Subject: Re: cvs commit: src/bin/test test.c Message-ID: <Pine.BSF.3.91.951028200953.852I-100000@jhome.DIALix.COM> In-Reply-To: <199510281154.EAA06139@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 28 Oct 1995, Andrey A. Chernov wrote:
> ache 95/10/28 04:54:43
>
> Modified: bin/test test.c
> Log:
> Fix -h option:
> sense symlink even it is unresolved
BTW, This appears to be unrelated to the broken "make distrib-dirs"
Check this, the make was blowing up on a _directory_, not a symlink...
I added a "set -x" in to debug it, and it's only getting as far as the
first entry. It never even sees a symlink, let alone an unresolved one.
pwroot@jhome[8:07pm]/home/src/etc-100# cvs diff -c Makefile
Index: Makefile
===================================================================
RCS file: /home/ncvs/src/etc/Makefile,v
retrieving revision 1.125
diff -c -r1.125 Makefile
*** 1.125 1995/10/28 02:01:34
--- Makefile 1995/10/28 12:07:07
***************
*** 446,451 ****
--- 446,452 ----
# Compatibility stuff, remove obsoleted links, if exists
if [ -d ${DESTDIR}/usr/share/locale ] ; \
then \
+ set -x ; \
cd ${DESTDIR}/usr/share/locale; \
for l in ${LATIN1LINKS} ; do \
[ -h $$l.ISO_8859-1 ] && rm $$l.ISO_8859-1; \
pwroot@jhome[8:07pm]/home/src/etc-101# make distrib-dit[Krs
mtree -deU -f /home/src/etc/mtree/BSD.root.dist -p /
mtree -deU -f /home/src/etc/mtree/BSD.var.dist -p /var
missing: ./crash (not created: File exists)
if [ -d /usr/share/locale ] ; then set -x ; cd /usr/share/locale; for l in da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE nl_NL no_NO pt_PT sv_SE ; do [ -h $l.ISO_8859-1 ] && rm $l.ISO_88
59-1; done; fi
+ cd /usr/share/locale
+ [ -h da_DK.ISO_8859-1 ]
*** Error code 1
Stop.
pwroot@jhome[8:08pm]/home/src/etc-102# ls -l /usr/share/locale | grep da_DK
lrwxr-xr-x 1 bin bin 16 Oct 28 19:53 da@ -> da_DK.ISO_8859-1
lrwxr-xr-x 1 bin bin 16 Oct 28 19:53 da_DK@ -> da_DK.ISO_8859-1
lrwxr-xr-x 1 bin bin 16 Oct 28 19:53 da_DK.88591@ -> da_DK.ISO_8859-1
lrwxr-xr-x 1 bin bin 16 Oct 28 19:53 da_DK.88591.en@ -> da_DK.ISO_8859-1
lrwxr-xr-x 1 bin bin 16 Oct 28 19:53 da_DK.ISO8859-1@ -> da_DK.ISO_8859-1
drwxr-xr-x 2 bin bin 512 Oct 27 13:53 da_DK.ISO_8859-1/
lrwxr-xr-x 1 bin bin 16 Oct 28 19:53 danish.iso88591@ -> da_DK.ISO_8859-1
pwroot@jhome[8:08pm]/home/src/etc-103#
I'm still guessing that "make" was catching the exit status of the "["
command for a reason I do not understand.
-Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951028200953.852I-100000>
