diff options
author | Cem Keylan <cem@ckyln.com> | 2020-12-31 14:42:36 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-12-31 14:42:36 +0300 |
commit | ac7e7ff425d94b89f08b2b388ffe508b71acb5a4 (patch) | |
tree | 6057eb4dcda082ce140456b2146023cc4004d960 | |
parent | c4386b75bd6ca369952c06773740fef22eb01522 (diff) | |
download | repository-ac7e7ff425d94b89f08b2b388ffe508b71acb5a4.tar.gz |
busybox|sbase build: fix shellcheck errors
-rwxr-xr-x | core/busybox/build | 2 | ||||
-rwxr-xr-x | core/sbase/build | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/busybox/build b/core/busybox/build index f8c919ec..a34e5e3c 100755 --- a/core/busybox/build +++ b/core/busybox/build @@ -11,7 +11,7 @@ for patch in *.patch; do done if [ "$CPT_CROSS_TRIPLET" ]; then - mk() { make ARCH=${CPT_CROSS_TRIPLET%%-*} CROSS_COMPILE=$CPT_CROSS_TRIPLET- "$@" ;} + mk() { make "ARCH=${CPT_CROSS_TRIPLET%%-*}" "CROSS_COMPILE=$CPT_CROSS_TRIPLET-" "$@" ;} else mk() { make "$@" ;} fi diff --git a/core/sbase/build b/core/sbase/build index c4f56dc7..437ffb66 100755 --- a/core/sbase/build +++ b/core/sbase/build @@ -4,7 +4,7 @@ AR=$CPT_CROSS_TRIPLET-ar \ RANLIB=$CPT_CROSS_TRIPLET-ranlib -: ${CC:=cc} ${AR:=ar} ${RANLIB:=ranlib} +: "${CC:=cc}" "${AR:=ar}" "${RANLIB:=ranlib}" make CC=$CC AR=$AR RANLIB=$RANLIB LDFLAGS="$LDFLAGS -static" sbase-box make PREFIX=/usr DESTDIR="$1" sbase-box-install |