Skip to content

Commit

Permalink
Fix output stdout error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Nov 22, 2021
1 parent fcf20a5 commit 0cb02a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sonic-build-hooks/scripts/buildinfo_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ download_packages()
local filename=$(echo $url | awk -F"/" '{print $NF}' | cut -d? -f1 | cut -d# -f1)
[ -f $WEB_VERSION_FILE ] && version=$(grep "^${url}=" $WEB_VERSION_FILE | awk -F"==" '{print $NF}')
if [ -z "$version" ]; then
echo "Warning: Failed to verify the package: $url, the version is not specified" 2>&1
echo "Warning: Failed to verify the package: $url, the version is not specified" 1>&2
continue
fi

Expand Down

0 comments on commit 0cb02a2

Please sign in to comment.