Skip to content

Commit 863b05e

Browse files
Bug fix for reproducible build (#8061)
1 parent edb48e3 commit 863b05e

File tree

1 file changed

+1
-1
lines changed
  • src/sonic-build-hooks/hooks

1 file changed

+1
-1
lines changed

src/sonic-build-hooks/hooks/git

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ main(){
5757
get_clone_path "$@"
5858
pushd $clone_PATH &> /dev/null
5959
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}'`
60+
[ -f $version_file ] && commit=`grep $URL $version_file | awk -F== '{print$2}'`
6161

6262
# control version or record version file
6363
if [[ $ENABLE_VERSION_CONTROL_GIT == "y" ]];then

0 commit comments

Comments
 (0)