diff --git a/lib/build-all-ng.sh b/lib/build-all-ng.sh index 4e0a21e9c2..2bcf566c7b 100644 --- a/lib/build-all-ng.sh +++ b/lib/build-all-ng.sh @@ -208,7 +208,7 @@ function check_hash() [[ -z $LINUXFAMILY ]] && LINUXFAMILY=$BOARDFAMILY [[ -z ${KERNELPATCHDIR} ]] && KERNELPATCHDIR=$LINUXFAMILY-$BRANCH [[ -z ${LINUXCONFIG} ]] && LINUXCONFIG=linux-$LINUXFAMILY-$BRANCH - hash_watch_1=$(find "${SRC}/patch/kernel/${KERNELPATCHDIR}" -maxdepth 1 -printf '%s %P\n' | sort 2> /dev/null) + hash_watch_1=$(find "${SRC}/patch/kernel/${KERNELPATCHDIR}" -maxdepth 1 -printf '%s %P\n' 2> /dev/null | sort) hash_watch_2=$(cat "${SRC}/config/kernel/${LINUXCONFIG}.config") patch_hash=$(echo "${hash_watch_1}${hash_watch_2}" | git hash-object --stdin)