From: Richard Levitte Date: Wed, 31 Jul 2002 13:38:32 +0000 (+0000) Subject: ln -f -s doesn't always work, so do a rm -f followed by a ln -s. X-Git-Tag: OpenSSL_0_9_7-beta4~218^2~43 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=ba25198517eec4e84bf81489b756051dddf40973;hp=6297bcd74cd362664c470b98a50db6aff4128eab;ds=sidebyside ln -f -s doesn't always work, so do a rm -f followed by a ln -s. Part of PR 181 --- diff --git a/Makefile.org b/Makefile.org index eb3f5370d0..aeebfb6041 100644 --- a/Makefile.org +++ b/Makefile.org @@ -251,7 +251,8 @@ link-shared: for i in $(SHLIBDIRS); do \ prev=lib$$i$(SHLIB_EXT); \ for j in $${tmp:-x}; do \ - ( set -x; ln -f -s $$prev lib$$i$$j ); \ + ( set -x; \ + rm -f lib$$i$$j; ln -s $$prev lib$$i$$j ); \ prev=lib$$i$$j; \ done; \ done; \