Browse Source

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

Years are set according to 'git log' history
0.14
isle2983 8 years ago
parent
commit
0766d1cac3
  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/macdeploy/extract-osx-sdk.sh
  5. 4
      contrib/qos/tc.sh
  6. 3
      contrib/tidy_datadir.sh
  7. 4
      contrib/verify-commits/gpg.sh
  8. 4
      contrib/verify-commits/pre-push-hook.sh
  9. 4
      contrib/verify-commits/verify-commits.sh
  10. 3
      contrib/verifybinaries/verify.sh
  11. 4
      src/qt/res/movies/makespinner.sh

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

@ -1,4 +1,7 @@ @@ -1,4 +1,7 @@
#!/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"
COMMIT="$2"

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

@ -1,4 +1,8 @@ @@ -1,4 +1,8 @@
#!/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
UNSIGNED="$1"

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

@ -1,4 +1,8 @@ @@ -1,4 +1,8 @@
#!/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
ROOTDIR=dist

4
contrib/macdeploy/extract-osx-sdk.sh

@ -1,4 +1,8 @@ @@ -1,4 +1,8 @@
#!/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.
set -e
INPUTFILE="Xcode_7.3.1.dmg"

4
contrib/qos/tc.sh

@ -1,3 +1,7 @@ @@ -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
IF="eth0"
#limit of the network interface in question

3
contrib/tidy_datadir.sh

@ -1,4 +1,7 @@ @@ -1,4 +1,7 @@
#!/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
cd "$1"

4
contrib/verify-commits/gpg.sh

@ -1,4 +1,8 @@ @@ -1,4 +1,8 @@
#!/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)
VALID=false
REVSIG=false

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

@ -1,4 +1,8 @@ @@ -1,4 +1,8 @@
#!/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
exit 0
fi

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

@ -1,4 +1,8 @@ @@ -1,4 +1,8 @@
#!/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
# shell anyone uses today supports it, so its probably fine

3
contrib/verifybinaries/verify.sh

@ -1,4 +1,7 @@ @@ -1,4 +1,7 @@
#!/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
### 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 @@ @@ -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)
for i in {0..35}
do

Loading…
Cancel
Save