diff --git a/config/functions b/config/functions index 78cb309c95..4a920a9fa7 100644 --- a/config/functions +++ b/config/functions @@ -509,10 +509,10 @@ build_with_debug() { [ "${PKG_NAME}" = "debug" ] && return 0 # Build addons with debug if we're building the mediacenter with debug - [ "${PKG_IS_ADDON}" == "yes" ] && listcontains "${_DEBUG_DEPENDS_LIST}" "${MEDIACENTER}" && return 0 + [ "${PKG_IS_ADDON}" = "yes" ] && listcontains "${_DEBUG_DEPENDS_LIST}" "${MEDIACENTER}" && return 0 # Build kernel packages with debug if we're building the kernel with debug - [ "${PKG_IS_KERNEL_PKG}" == "yes" ] && listcontains "${_DEBUG_DEPENDS_LIST}" "linux" && return 0 + [ "${PKG_IS_KERNEL_PKG}" = "yes" ] && listcontains "${_DEBUG_DEPENDS_LIST}" "linux" && return 0 # Build this package with debug if it's a resolved dependency listcontains "${_DEBUG_DEPENDS_LIST}" "${PKG_NAME}" && return 0 @@ -896,7 +896,7 @@ debug_strip() { print_color() { local clr_name="$1" clr_text="$2" clr_actual - if [ "$DISABLE_COLORS" == "yes" ]; then + if [ "$DISABLE_COLORS" = "yes" ]; then [ $# -eq 2 ] && echo -en "${clr_text}" return 0 fi diff --git a/scripts/checkdeps b/scripts/checkdeps index 95c1b81436..a896d8d217 100755 --- a/scripts/checkdeps +++ b/scripts/checkdeps @@ -57,8 +57,8 @@ get_yes_no() { local ans read -p "Would you like to install the needed tools ? (y/n) " ans - [ "${ans,,}" == "y" ] && return 0 - [ "${ans,,}" == "yes" ] && return 0 + [ "${ans,,}" = "y" ] && return 0 + [ "${ans,,}" = "yes" ] && return 0 return 1 } diff --git a/scripts/unpack b/scripts/unpack index 0615ab0e0e..3347fa6145 100755 --- a/scripts/unpack +++ b/scripts/unpack @@ -180,7 +180,7 @@ if [ -d "$SOURCES/$1" -o -d "$PKG_DIR/sources" ]; then fi fi - if [ ! "$PKG_NAME" == "configtools" ] ; then + if [ ! "$PKG_NAME" = "configtools" ] ; then for config in `find $PKG_BUILD -name config.guess | sed 's/config.guess//'`; do printf "%${BUILD_INDENT}c $(print_color CLR_FIXCONFIG "FIXCONFIG") $config\n" ' '