8158181: Stop adding missing newline to manifest files
authorihse
Tue, 11 Oct 2016 11:28:19 +0200
changeset 41460 4d20b8cc49d4
parent 41459 7a3eeb2a56bc
child 41461 53935ea8789d
8158181: Stop adding missing newline to manifest files Reviewed-by: erikj
make/common/JarArchive.gmk
--- a/make/common/JarArchive.gmk	Wed Oct 12 11:49:09 2016 +0200
+++ b/make/common/JarArchive.gmk	Tue Oct 11 11:28:19 2016 +0200
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2016, 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
@@ -242,7 +242,7 @@
         # potential changes.
 	$$(if $$(filter $$($1_VARDEPS_FILE) $$($1_MANIFEST), $$?), \
 	  $$(if $$($1_MANIFEST), \
-	    $(SED) -e '$(DOLLAR)$(DOLLAR)a\' $$($1_MANIFEST) > $$($1_MANIFEST_FILE) $$(NEWLINE) \
+	    $(CP) $$($1_MANIFEST) $$($1_MANIFEST_FILE) $$(NEWLINE) \
 	  , \
 	    $(RM) $$($1_MANIFEST_FILE) && $(TOUCH) $$($1_MANIFEST_FILE) $$(NEWLINE)) \
 	  $$(if $$($1_JARMAIN), \