We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edb48e3 commit 863b05eCopy full SHA for 863b05e
src/sonic-build-hooks/hooks/git
@@ -57,7 +57,7 @@ main(){
57
get_clone_path "$@"
58
pushd $clone_PATH &> /dev/null
59
commit_latest=`$REAL_COMMAND log -n 1 | head -n 1| awk '{print$2}'`
60
- [ -f $version_file ] && commit=`grep $URL $version_file | awk -F, '{print$2}'`
+ [ -f $version_file ] && commit=`grep $URL $version_file | awk -F== '{print$2}'`
61
62
# control version or record version file
63
if [[ $ENABLE_VERSION_CONTROL_GIT == "y" ]];then
0 commit comments