From 7dc3ae8ae1664f6a042258452c4d6035c5e8620c Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Mon, 31 Aug 2020 17:36:30 +0200 Subject: [PATCH] Internal - supressing errors when directory for hasing is not present --- lib/build-all-ng.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)