summaryrefslogtreecommitdiffstats
path: root/mcp/patches/patch.sh
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-10-14 19:42:41 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-10-15 01:56:43 +0000
commit94825e25dcc5bf4a8490690fc1cf423df0e9d7fe (patch)
treee0d02c21d32dcd56c0aa2f8bca8ddb14dcb32621 /mcp/patches/patch.sh
parentef570e8954b44fd608cf1ff5e50b5cbc3d0d178f (diff)
Add license headers where missing
While at it, compact 'set' into bash shebang where possible and add `make patches-copyright` target to simplify adding patch license headers. Change-Id: I0c841de72e5709e5eef915a52c5ec4a7fc0f7c37 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 644e5fdfa2f49b988a5150e2a4eefc12daecd845)
Diffstat (limited to 'mcp/patches/patch.sh')
-rwxr-xr-xmcp/patches/patch.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/mcp/patches/patch.sh b/mcp/patches/patch.sh
index b56ebb815..6c6d646b3 100755
--- a/mcp/patches/patch.sh
+++ b/mcp/patches/patch.sh
@@ -1,4 +1,11 @@
#!/bin/bash -ex
+##############################################################################
+# Copyright (c) 2017 Mirantis Inc., Enea AB and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
if [ -r "$1" ]; then
while IFS=': ' read -r p_dest p_file; do