[Build][Bug]: fix the warning message not printed as expected issue (#10278)
Fix the warning message not printed as expected issue
This commit is contained in:
parent
fb7f046143
commit
ed4f19fb28
@ -10,10 +10,10 @@ if [ -z "$REAL_COMMAND" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
INSTALL=$(check_apt_install)
|
||||
INSTALL=$(check_apt_install "$@")
|
||||
COMMAND_INFO="Locked by command: $REAL_COMMAND $@"
|
||||
if [ "$INSTALL" == y ]; then
|
||||
check_apt_version
|
||||
check_apt_version "$@"
|
||||
lock_result=$(acquire_apt_installation_lock "$COMMAND_INFO" )
|
||||
$REAL_COMMAND "$@"
|
||||
command_result=$?
|
||||
|
@ -213,6 +213,10 @@ check_apt_version()
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ "$para" == "install" ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
if [[ "$para" == *=* ]]; then
|
||||
continue
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user