Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unify the indentation of license #7022

Merged
merged 1 commit into from
Dec 26, 2017
Merged

unify the indentation of license #7022

merged 1 commit into from
Dec 26, 2017

Conversation

luotao1
Copy link
Contributor

@luotao1 luotao1 commented Dec 26, 2017

fix #6061

  1. Using scripts to auto change the license
files=`grep -rl "   Licensed" paddle/`
for file in $files; do
  echo $file
  sed '1,13d' $file > tmp
  mv tmp $file
  cat license.txt $file > tmp
  mv tmp $file
done

where license.txt is

/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.

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. */
  1. manually change the following files later, as their license is another format
gaussian_random_op.cc
nccl_gpu_common.cc
gru_op.cc
nccl_op.cc
multiplex_op.h
lookup_table_op.cu
lookup_table_op.h

@luotao1 luotao1 requested a review from kuke December 26, 2017 03:50
Copy link
Contributor

@kuke kuke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luotao1 luotao1 merged commit c77b696 into PaddlePaddle:develop Dec 26, 2017
@luotao1 luotao1 deleted the license branch December 26, 2017 06:00
@luotao1 luotao1 mentioned this pull request Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The indentation of license is not unified.
2 participants