Internal - supressing errors when directory for hasing is not present
This commit is contained in:
parent
5a6af1e761
commit
7dc3ae8ae1
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user