]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fixed `make objlink' (and `make obj' in the (non-default) OBJLINK case).
authorbde <bde@FreeBSD.org>
Thu, 5 Sep 1996 17:53:13 +0000 (17:53 +0000)
committerbde <bde@FreeBSD.org>
Thu, 5 Sep 1996 17:53:13 +0000 (17:53 +0000)
commite88717b61d6e9f633f55ab99c6815b9da60d0b63
tree3304569efe9d898dc67521d556bc9cfff645ca25
parent11546f4616454e8fe6b6b85898bc2f22f9930985
Fixed `make objlink' (and `make obj' in the (non-default) OBJLINK case).
Running them twice usually destroyed the target binary.  E.g., the
second `make objlink' in `make objlink; make; make objlink' replaced
the `cat' binary by a symlink cat@ -> /usr/obj/usr/src/bin/cat.

`ln -fs' is unusable when the target might be a symlink that resolves
to a directory.  Then -f applies to a file in the directory and not
to the symlink.  This seems to be the standard (and sometimes useful)
behaviour.
share/mk/bsd.obj.mk