From beab56ed59f30d0e68262d418f02d1b4431a56b8 Mon Sep 17 00:00:00 2001 From: changsh726 Date: Tue, 18 Aug 2020 16:21:29 +0800 Subject: [PATCH] Scripts: supplement copyright notice --- scripts/apollo_base.sh | 1 + scripts/apollo_build.sh | 17 +++++++++++++++++ scripts/apollo_buildify.sh | 16 ++++++++++++++++ scripts/apollo_ci.sh | 17 +++++++++++++++++ scripts/apollo_config.sh | 16 ++++++++++++++++ scripts/apollo_coverage.sh | 17 +++++++++++++++++ scripts/apollo_docs.sh | 17 +++++++++++++++++ scripts/apollo_lint.sh | 17 +++++++++++++++++ scripts/apollo_test.sh | 17 +++++++++++++++++ 9 files changed, 135 insertions(+) diff --git a/scripts/apollo_base.sh b/scripts/apollo_base.sh index 3208781672..94b2f7b23d 100644 --- a/scripts/apollo_base.sh +++ b/scripts/apollo_base.sh @@ -15,6 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. ############################################################################### + TOP_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd -P)" source ${TOP_DIR}/scripts/apollo.bashrc diff --git a/scripts/apollo_build.sh b/scripts/apollo_build.sh index 0516dd4bec..fd00357137 100755 --- a/scripts/apollo_build.sh +++ b/scripts/apollo_build.sh @@ -1,4 +1,21 @@ #! /usr/bin/env bash + +############################################################################### +# Copyright 2020 The Apollo Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +############################################################################### + set -e TOP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)" diff --git a/scripts/apollo_buildify.sh b/scripts/apollo_buildify.sh index 392d013aa5..3a816aebfd 100755 --- a/scripts/apollo_buildify.sh +++ b/scripts/apollo_buildify.sh @@ -1,5 +1,21 @@ #! /usr/bin/env bash +############################################################################### +# Copyright 2020 The Apollo Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +############################################################################### + set -e TOP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)" diff --git a/scripts/apollo_ci.sh b/scripts/apollo_ci.sh index 14acd56b9a..61507d2d66 100755 --- a/scripts/apollo_ci.sh +++ b/scripts/apollo_ci.sh @@ -1,4 +1,21 @@ #! /usr/bin/env bash + +############################################################################### +# Copyright 2020 The Apollo Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +############################################################################### + set -e TOP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)" diff --git a/scripts/apollo_config.sh b/scripts/apollo_config.sh index c54e5004ad..fe7c4940b0 100755 --- a/scripts/apollo_config.sh +++ b/scripts/apollo_config.sh @@ -1,5 +1,21 @@ #! /usr/bin/env bash +############################################################################### +# Copyright 2020 The Apollo Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +############################################################################### + TOP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)" source "${TOP_DIR}/scripts/apollo.bashrc" diff --git a/scripts/apollo_coverage.sh b/scripts/apollo_coverage.sh index acb6acd1ca..704682a699 100755 --- a/scripts/apollo_coverage.sh +++ b/scripts/apollo_coverage.sh @@ -1,4 +1,21 @@ #! /usr/bin/env bash + +############################################################################### +# Copyright 2020 The Apollo Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +############################################################################### + set -e TOP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)" diff --git a/scripts/apollo_docs.sh b/scripts/apollo_docs.sh index e8028574b6..7c3abb952e 100755 --- a/scripts/apollo_docs.sh +++ b/scripts/apollo_docs.sh @@ -1,4 +1,21 @@ #! /usr/bin/env bash + +############################################################################### +# Copyright 2020 The Apollo Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +############################################################################### + TOP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)" source "${TOP_DIR}/scripts/apollo.bashrc" diff --git a/scripts/apollo_lint.sh b/scripts/apollo_lint.sh index 247a199544..e07b849927 100755 --- a/scripts/apollo_lint.sh +++ b/scripts/apollo_lint.sh @@ -1,4 +1,21 @@ #! /usr/bin/env bash + +############################################################################### +# Copyright 2020 The Apollo Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +############################################################################### + set -e TOP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)" diff --git a/scripts/apollo_test.sh b/scripts/apollo_test.sh index c6deb04242..1a8b7d328a 100755 --- a/scripts/apollo_test.sh +++ b/scripts/apollo_test.sh @@ -1,4 +1,21 @@ #! /usr/bin/env bash + +############################################################################### +# Copyright 2020 The Apollo Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +############################################################################### + set -e TOP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)" -- GitLab