remove "SOURCEDIR", a generic env variable we only used to mean pwd, right after setting it

tmp/arduino-cli-pre-rebase
Jesse Vincent 4 years ago
parent d3161c003e
commit 0823b816fd
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -702,14 +702,11 @@ fi
: "${ARDUINO_CLI_CONFIG:=${ARDUINO_DIRECTORIES_DATA}/arduino-cli.yaml}" : "${ARDUINO_CLI_CONFIG:=${ARDUINO_DIRECTORIES_DATA}/arduino-cli.yaml}"
: "${ARDUINO_BOARDS_MANAGER_KALEIDOSCOPE:=https://raw.githubusercontent.com/keyboardio/boardsmanager/master/package_keyboardio_index.json}" : "${ARDUINO_BOARDS_MANAGER_KALEIDOSCOPE:=https://raw.githubusercontent.com/keyboardio/boardsmanager/master/package_keyboardio_index.json}"
# shellcheck disable=SC2155
export SOURCEDIR="$(pwd)"
for conf_file in \ for conf_file in \
"${HOME}/.kaleidoscope-builder.conf" \ "${HOME}/.kaleidoscope-builder.conf" \
"${SOURCEDIR}/.kaleidoscope-builder.conf" \ "$(pwd)/.kaleidoscope-builder.conf" \
"${SOURCEDIR}/kaleidoscope-builder.conf" \ "$(pwd)/kaleidoscope-builder.conf" \
"${KALEIDOSCOPE_DIR}/etc/kaleidoscope-builder.conf"; do "${KALEIDOSCOPE_DIR}/etc/kaleidoscope-builder.conf"; do
if [ -e "${conf_file}" ]; then if [ -e "${conf_file}" ]; then
# shellcheck disable=SC1090 # shellcheck disable=SC1090

Loading…
Cancel
Save