see https://github.com/koalaman/shellcheck/wiki/SC2155
Looking at how these were used, I don't think we even need to
export them, so removing that.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -2,7 +2,7 @@ |
| 2 | 2 |
# |
| 3 | 3 |
# Run default validation, exclude vendor because it's slow |
| 4 | 4 |
|
| 5 |
-export SCRIPTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
| 5 |
+SCRIPTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
| 6 | 6 |
|
| 7 | 7 |
# Skip DCO check here, as it's already checked in a separate stage in the Jenkinsfile |
| 8 | 8 |
#. "${SCRIPTDIR}"/dco
|
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
#!/usr/bin/env bash |
| 2 | 2 |
# Check that no new tests are being added to integration-cli |
| 3 | 3 |
|
| 4 |
-export SCRIPTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
| 4 |
+SCRIPTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
| 5 | 5 |
source "${SCRIPTDIR}/.validate"
|
| 6 | 6 |
|
| 7 | 7 |
new_tests=$( |