Mercurial > hg > octave-terminal
changeset 1982:4777d9b9b39a
[project @ 1996-02-27 12:06:55 by jwe]
author | jwe |
---|---|
date | Tue, 27 Feb 1996 12:06:55 +0000 |
parents | 03dd1c432e3b |
children | aaf4ad3da905 |
files | liboctave/Makefile.in |
diffstat | 1 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/Makefile.in +++ b/liboctave/Makefile.in @@ -155,9 +155,13 @@ if [ "$$linkdir" = $(includedir) ] ; then \ true ; \ else \ - rm -rf $$linkdir ; \ - fi ; \ - $(LN_S) $(includedir) $$linkdir + if [ -d $$linkdir ] ; then \ + mv $$linkdir $$linkdir.old ; \ + else \ + rm -f $$linkdir ; \ + fi ; \ + $(LN_S) $(includedir) $$linkdir ; \ + fi .PHONY: install uninstall: