diff make/solaris/makefiles/jsig.make @ 14331:67d6392ed21e

8033714: hotspot 'install_jvm' bld target broken with ZIP_DEBUGINFO_FILES=0 Summary: fixed faulty logic in makefiles when compressed FDS builds are disabled Reviewed-by: rdurbin, dholmes, never, dnsimon, tbell
author dcubed
date Fri, 07 Feb 2014 09:03:44 -0800
parents 892acf0431ef
children d8041d695d19
line wrap: on
line diff
--- a/make/solaris/makefiles/jsig.make	Thu Feb 06 20:13:38 2014 -0800
+++ b/make/solaris/makefiles/jsig.make	Fri Feb 07 09:03:44 2014 -0800
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2005, 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
@@ -79,9 +79,9 @@
 
 install_jsig: $(LIBJSIG)
 	@echo "Copying $(LIBJSIG) to $(DEST_JSIG)"
-	$(QUIETLY) test -f $(LIBJSIG_DEBUGINFO) && \
+	$(QUIETLY) test ! -f $(LIBJSIG_DEBUGINFO) || \
 	    cp -f $(LIBJSIG_DEBUGINFO) $(DEST_JSIG_DEBUGINFO)
-	$(QUIETLY) test -f $(LIBJSIG_DIZ) && \
+	$(QUIETLY) test ! -f $(LIBJSIG_DIZ) || \
 	    cp -f $(LIBJSIG_DIZ) $(DEST_JSIG_DIZ)
 	$(QUIETLY) cp -f $(LIBJSIG) $(DEST_JSIG) && echo "Done"