make/linux/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.

@@ -364,13 +364,13 @@
 DEST_JVM_DEBUGINFO = $(DEST_SUBDIR)/$(LIBJVM_DEBUGINFO)
 DEST_JVM_DIZ       = $(DEST_SUBDIR)/$(LIBJVM_DIZ)
 
 install_jvm: $(LIBJVM)
         @echo "Copying $(LIBJVM) to $(DEST_JVM)"
-        $(QUIETLY) test -f $(LIBJVM_DEBUGINFO) && \
+        $(QUIETLY) test ! -f $(LIBJVM_DEBUGINFO) || \
             cp -f $(LIBJVM_DEBUGINFO) $(DEST_JVM_DEBUGINFO)
-        $(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