make/bsd/makefiles/vm.make

Print this page

        

@@ -1,7 +1,7 @@
 #
-# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License version 2 only, as
 # published by the Free Software Foundation.

@@ -365,17 +365,17 @@
 DEST_JVM_DIZ       = $(DEST_SUBDIR)/$(LIBJVM_DIZ)
 
 install_jvm: $(LIBJVM)
         @echo "Copying $(LIBJVM) to $(DEST_JVM)"
 ifeq ($(OS_VENDOR), Darwin)
-        $(QUIETLY) test -d $(LIBJVM_DEBUGINFO) && \
+        $(QUIETLY) test ! -d $(LIBJVM_DEBUGINFO) || \
             cp -f -r $(LIBJVM_DEBUGINFO) $(DEST_JVM_DEBUGINFO)
 else
-        $(QUIETLY) test -f $(LIBJVM_DEBUGINFO) && \
+        $(QUIETLY) test ! -f $(LIBJVM_DEBUGINFO) || \
             cp -f $(LIBJVM_DEBUGINFO) $(DEST_JVM_DEBUGINFO)
 endif
-        $(QUIETLY) test -f $(LIBJVM_DIZ) && \
+        $(QUIETLY) test ! -f $(LIBJVM_DIZ) || \
             cp -f $(LIBJVM_DIZ) $(DEST_JVM_DIZ)
         $(QUIETLY) cp -f $(LIBJVM) $(DEST_JVM) && echo "Done"
 
 #----------------------------------------------------------------------
 # Other files