Internal: cache recreation doesn't need terminal

This remove pointless error when running cache recreate
This commit is contained in:
Igor Pecovnik 2021-02-18 21:03:51 +01:00
parent dd82638982
commit 28768f4878

View File

@ -26,7 +26,7 @@ umask 002
# destination
DEST="${SRC}"/output
if [[ $BUILD_ALL != "yes" ]]; then
if [[ $BUILD_ALL != "yes" && -z $ROOT_FS_CREATE_ONLY ]]; then
# override stty size
[[ -n $COLUMNS ]] && stty cols $COLUMNS
[[ -n $LINES ]] && stty rows $LINES