Browse Source

[copyright] add MIT license headers to .sh scripts where missing

Years are set according to 'git log' history

Github-Pull: #8700
Rebased-From: 0766d1cac3
0.13
isle2983 8 years ago committed by Luke Dashjr
parent
commit
702fd2ee21
  1. 3
      contrib/devtools/git-subtree-check.sh
  2. 4
      contrib/macdeploy/detached-sig-apply.sh
  3. 4
      contrib/macdeploy/detached-sig-create.sh
  4. 4
      contrib/qos/tc.sh
  5. 3
      contrib/tidy_datadir.sh
  6. 4
      contrib/verify-commits/gpg.sh
  7. 4
      contrib/verify-commits/pre-push-hook.sh
  8. 4
      contrib/verify-commits/verify-commits.sh
  9. 3
      contrib/verifybinaries/verify.sh
  10. 4
      src/qt/res/movies/makespinner.sh

3
contrib/devtools/git-subtree-check.sh

@ -1,4 +1,7 @@
#!/bin/sh #!/bin/sh
# Copyright (c) 2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
DIR="$1" DIR="$1"
COMMIT="$2" COMMIT="$2"

4
contrib/macdeploy/detached-sig-apply.sh

@ -1,4 +1,8 @@
#!/bin/sh #!/bin/sh
# Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
set -e set -e
UNSIGNED="$1" UNSIGNED="$1"

4
contrib/macdeploy/detached-sig-create.sh

@ -1,4 +1,8 @@
#!/bin/sh #!/bin/sh
# Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
set -e set -e
ROOTDIR=dist ROOTDIR=dist

4
contrib/qos/tc.sh

@ -1,3 +1,7 @@
# Copyright (c) 2013 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#network interface on which to limit traffic #network interface on which to limit traffic
IF="eth0" IF="eth0"
#limit of the network interface in question #limit of the network interface in question

3
contrib/tidy_datadir.sh

@ -1,4 +1,7 @@
#!/bin/bash #!/bin/bash
# Copyright (c) 2013 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
if [ -d "$1" ]; then if [ -d "$1" ]; then
cd "$1" cd "$1"

4
contrib/verify-commits/gpg.sh

@ -1,4 +1,8 @@
#!/bin/sh #!/bin/sh
# Copyright (c) 2014-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
INPUT=$(cat /dev/stdin) INPUT=$(cat /dev/stdin)
VALID=false VALID=false
REVSIG=false REVSIG=false

4
contrib/verify-commits/pre-push-hook.sh

@ -1,4 +1,8 @@
#!/bin/bash #!/bin/bash
# Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
if ! [[ "$2" =~ ^(git@)?(www.)?github.com(:|/)bitcoin/bitcoin(.git)?$ ]]; then if ! [[ "$2" =~ ^(git@)?(www.)?github.com(:|/)bitcoin/bitcoin(.git)?$ ]]; then
exit 0 exit 0
fi fi

4
contrib/verify-commits/verify-commits.sh

@ -1,4 +1,8 @@
#!/bin/sh #!/bin/sh
# Copyright (c) 2014-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Not technically POSIX-compliant due to use of "local", but almost every # Not technically POSIX-compliant due to use of "local", but almost every
# shell anyone uses today supports it, so its probably fine # shell anyone uses today supports it, so its probably fine

3
contrib/verifybinaries/verify.sh

@ -1,4 +1,7 @@
#!/bin/bash #!/bin/bash
# Copyright (c) 2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
### This script attempts to download the signature file SHA256SUMS.asc from bitcoin.org ### This script attempts to download the signature file SHA256SUMS.asc from bitcoin.org
### It first checks if the signature passes, and then downloads the files specified in ### It first checks if the signature passes, and then downloads the files specified in

4
src/qt/res/movies/makespinner.sh

@ -1,3 +1,7 @@
# Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
FRAMEDIR=$(dirname $0) FRAMEDIR=$(dirname $0)
for i in {0..35} for i in {0..35}
do do

Loading…
Cancel
Save