diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-07 14:53:55 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-07 14:53:55 +0000 |
commit | 17b47fe694f84742371e84a3284117f0134ea299 (patch) | |
tree | d70e7931e210773d1476fe5150b22ae71c825cfd /include | |
parent | 0ef40f95d91a3a50af8b9bf6b683c5c1d7e0112e (diff) | |
download | ATCD-17b47fe694f84742371e84a3284117f0134ea299.tar.gz |
instead of trying to overwrite an existing symlink with ln -f, remove it first
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/rules.local.GNU | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/makeinclude/rules.local.GNU b/include/makeinclude/rules.local.GNU index 157f6bb9aca..d43910b2547 100644 --- a/include/makeinclude/rules.local.GNU +++ b/include/makeinclude/rules.local.GNU @@ -130,7 +130,7 @@ $(INSMAN)/mann/% : echo "$(@F) already installed" ; \ else \ echo "Installing $(@F) -> $(@D)" ; \ - ln -s -f $(shell pwd)/$(@F:%.$(SOEXT)$(ACE_LDSO_Version_Number)=%.$(SOEXT)) $(@) ; \ + $(RM) $(@); ln -s $(shell pwd)/$(@F:%.$(SOEXT)$(ACE_LDSO_Version_Number)=%.$(SOEXT)) $(@) ; \ fi ; \ fi ifdef MVSLIB @@ -140,7 +140,7 @@ ifdef MVSLIB echo "$(@F:.$(SOEXT)=.x) already installed" ; \ else \ echo "Installing $(@F:.$(SOEXT)=.x) -> $(@D)" ; \ - ln -s -f $(shell pwd)/$(@F:.$(SOEXT)=.x) $(@:.$(SOEXT)=.x) ; \ + $(RM) $(@); ln -s -f $(shell pwd)/$(@F:.$(SOEXT)=.x) $(@:.$(SOEXT)=.x) ; \ fi \ fi endif |