From d2195eee3cccb37c25497a58f1fc5a84e8069c4e Mon Sep 17 00:00:00 2001 From: Manuel Streuhofer Date: Tue, 8 Nov 2016 21:15:46 +0100 Subject: [PATCH] mention the used license in each script header (#60) turns out that the README.md explains that "... licensed under MIT ... the LICENSE does not have to be bundled as long as ..." but the scripts themselfs don't mention any license. fixed that by adding a one line mention of the used license and the two lines explaining that the header comments have to stay intact. --- main.sh | 6 +++++- src/ini_val.sh | 6 +++++- src/megamount.sh | 6 +++++- src/parse_url.sh | 6 +++++- src/templater.sh | 6 +++++- test/acceptance.sh | 6 +++++- website/_bin/deploy.sh | 6 +++++- website/_bin/inject.sh | 6 +++++- 8 files changed, 40 insertions(+), 8 deletions(-) diff --git a/main.sh b/main.sh index dd76e14..d46fb07 100755 --- a/main.sh +++ b/main.sh @@ -8,8 +8,12 @@ # LOG_LEVEL=7 ./main.sh -f /tmp/x -d (change this for your script) # # Based on a template by BASH3 Boilerplate v2.1.0 -# Copyright (c) 2013 Kevin van Zonneveld and contributors # http://bash3boilerplate.sh/#authors +# +# The MIT License (MIT) +# Copyright (c) 2013 Kevin van Zonneveld and contributors +# You are not obligated to bundle the LICENSE file with your b3bp projects as long +# as you leave these references intact in the header comments of your source files. # Exit on error. Append || true if you expect an error. set -o errexit diff --git a/src/ini_val.sh b/src/ini_val.sh index 1ce3d2d..22f4bf7 100755 --- a/src/ini_val.sh +++ b/src/ini_val.sh @@ -19,8 +19,12 @@ # ini_val.sh data.ini connection.host 127.0.0.1 # # Based on a template by BASH3 Boilerplate v2.1.0 -# Copyright (c) 2013 Kevin van Zonneveld and contributors # http://bash3boilerplate.sh/#authors +# +# The MIT License (MIT) +# Copyright (c) 2013 Kevin van Zonneveld and contributors +# You are not obligated to bundle the LICENSE file with your b3bp projects as long +# as you leave these references intact in the header comments of your source files. function ini_val() { local file="${1:-}" diff --git a/src/megamount.sh b/src/megamount.sh index 6caa930..4915c34 100644 --- a/src/megamount.sh +++ b/src/megamount.sh @@ -21,8 +21,12 @@ # megamount.sh smb://janedoe:abc123@192.168.0.1/documents /mnt/documents # # Based on a template by BASH3 Boilerplate v2.1.0 -# Copyright (c) 2013 Kevin van Zonneveld and contributors # http://bash3boilerplate.sh/#authors +# +# The MIT License (MIT) +# Copyright (c) 2013 Kevin van Zonneveld and contributors +# You are not obligated to bundle the LICENSE file with your b3bp projects as long +# as you leave these references intact in the header comments of your source files. __dir=$(cd `dirname "${BASH_SOURCE[0]}"` && pwd) source "${__dir}/parse_url.sh" diff --git a/src/parse_url.sh b/src/parse_url.sh index e290088..09bac4b 100644 --- a/src/parse_url.sh +++ b/src/parse_url.sh @@ -19,8 +19,12 @@ # parse_url.sh 'http://johndoe:abc123@example.com:8080/index.html' # # Based on a template by BASH3 Boilerplate v2.1.0 -# Copyright (c) 2013 Kevin van Zonneveld and contributors # http://bash3boilerplate.sh/#authors +# +# The MIT License (MIT) +# Copyright (c) 2013 Kevin van Zonneveld and contributors +# You are not obligated to bundle the LICENSE file with your b3bp projects as long +# as you leave these references intact in the header comments of your source files. function parse_url() { local parse="${1}" diff --git a/src/templater.sh b/src/templater.sh index 5e49706..7046b23 100755 --- a/src/templater.sh +++ b/src/templater.sh @@ -17,8 +17,12 @@ # ALLOW_REMAINDERS=1 templater.sh input.cfg output.cfg # # Based on a template by BASH3 Boilerplate v2.1.0 -# Copyright (c) 2013 Kevin van Zonneveld and contributors # http://bash3boilerplate.sh/#authors +# +# The MIT License (MIT) +# Copyright (c) 2013 Kevin van Zonneveld and contributors +# You are not obligated to bundle the LICENSE file with your b3bp projects as long +# as you leave these references intact in the header comments of your source files. function templater() { ALLOW_REMAINDERS="${ALLOW_REMAINDERS:-0}" diff --git a/test/acceptance.sh b/test/acceptance.sh index b94ad87..6548610 100755 --- a/test/acceptance.sh +++ b/test/acceptance.sh @@ -10,8 +10,12 @@ # ./deploy.sh # # Based on a template by BASH3 Boilerplate v2.0.0 -# Copyright (c) 2013 Kevin van Zonneveld and contributors # http://bash3boilerplate.sh/#authors +# +# The MIT License (MIT) +# Copyright (c) 2013 Kevin van Zonneveld and contributors +# You are not obligated to bundle the LICENSE file with your b3bp projects as long +# as you leave these references intact in the header comments of your source files. # Exit on error. Append || true if you expect an error. set -o errexit diff --git a/website/_bin/deploy.sh b/website/_bin/deploy.sh index d8b40b7..8d9e5a4 100755 --- a/website/_bin/deploy.sh +++ b/website/_bin/deploy.sh @@ -11,8 +11,12 @@ # ./deploy.sh # # Based on a template by BASH3 Boilerplate v2.0.0 -# Copyright (c) 2013 Kevin van Zonneveld and contributors # http://bash3boilerplate.sh/#authors +# +# The MIT License (MIT) +# Copyright (c) 2013 Kevin van Zonneveld and contributors +# You are not obligated to bundle the LICENSE file with your b3bp projects as long +# as you leave these references intact in the header comments of your source files. # Exit on error. Append || true if you expect an error. set -o errexit diff --git a/website/_bin/inject.sh b/website/_bin/inject.sh index 396d244..484d40c 100755 --- a/website/_bin/inject.sh +++ b/website/_bin/inject.sh @@ -9,8 +9,12 @@ # ./inject.sh # # Based on a template by BASH3 Boilerplate v2.0.0 -# Copyright (c) 2013 Kevin van Zonneveld and contributors # http://bash3boilerplate.sh/#authors +# +# The MIT License (MIT) +# Copyright (c) 2013 Kevin van Zonneveld and contributors +# You are not obligated to bundle the LICENSE file with your b3bp projects as long +# as you leave these references intact in the header comments of your source files. # Exit on error. Append || true if you expect an error. set -o errexit