Remove shellcheck disable
This commit is contained in:
@@ -551,7 +551,7 @@ fromSource() {
|
|||||||
k_options=$(curl -s "$SEED_URL")
|
k_options=$(curl -s "$SEED_URL")
|
||||||
debug "$k_options"
|
debug "$k_options"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
make distclean
|
make distclean
|
||||||
make download
|
make download
|
||||||
@@ -639,8 +639,6 @@ main() {
|
|||||||
declare -g IB_ARCHIVE="$BUILDDIR/${P_ARR[profile]}-$RELEASE.tar.xz"
|
declare -g IB_ARCHIVE="$BUILDDIR/${P_ARR[profile]}-$RELEASE.tar.xz"
|
||||||
declare -g FILESYSTEM="${P_ARR[filesystem]:="squashfs"}"
|
declare -g FILESYSTEM="${P_ARR[filesystem]:="squashfs"}"
|
||||||
|
|
||||||
# shellcheck disable=SC2154
|
|
||||||
# TODO: I don't know why shellcheck is catching this
|
|
||||||
if [[ "$RELEASE" == "snapshot" ]]; then
|
if [[ "$RELEASE" == "snapshot" ]]; then
|
||||||
declare url_prefix="https://downloads.openwrt.org/snapshots/targets/${P_ARR[target]}"
|
declare url_prefix="https://downloads.openwrt.org/snapshots/targets/${P_ARR[target]}"
|
||||||
declare url_filename="openwrt-imagebuilder-${P_ARR[target]//\//-}.Linux-x86_64.tar.xz"
|
declare url_filename="openwrt-imagebuilder-${P_ARR[target]//\//-}.Linux-x86_64.tar.xz"
|
||||||
|
|||||||
Reference in New Issue
Block a user