Various IA-64 assembler fix-ups.
[openssl.git] / tools / Makefile.ssl
index b46ea44..cb33d4a 100644 (file)
@@ -27,20 +27,22 @@ all:
 install:
        @for i in $(APPS) ; \
        do  \
-       (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i; \
-       chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \
+       (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \
+       chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \
+       mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \
        done;
        @for i in $(MISC_APPS) ; \
        do  \
-       (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i; \
-       chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
+       (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
+       chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
+       mv -f $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
        done;
 
 files:
        $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
 
 links:
-       @$(TOP)/util/point.sh Makefile.ssl Makefile
+       @sh $(TOP)/util/point.sh Makefile.ssl Makefile
 
 lint: