From 9823f2547af67fdabbb591afbea6218ff4d7f388 Mon Sep 17 00:00:00 2001 From: Hitesh Kumar Saini Date: Sat, 12 Oct 2024 17:05:32 +0530 Subject: [PATCH] Update custom_steps.cmake --- cmake/custom_steps.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/custom_steps.cmake b/cmake/custom_steps.cmake index 63b7e5179..77c16a507 100644 --- a/cmake/custom_steps.cmake +++ b/cmake/custom_steps.cmake @@ -96,7 +96,7 @@ file(WRITE ${stamp_dir}/reset_head.sh "#!/bin/bash set -e if [[ ! -f \"${stamp_dir}/${_name}-patch\" || \"${stamp_dir}/${_name}-download\" -nt \"${stamp_dir}/${_name}-patch\" || ! -f \"${stamp_dir}/HEAD\" || \"$(cat ${stamp_dir}/HEAD)\" != \"$(git -C ${source_dir} rev-parse @{u})\" ]]; then - pwd + echo ${source_dir} git -C ${source_dir} reset --hard ${reset} -q if [[ -z \"${git_reset}\" ]]; then find \"${stamp_dir}\" -type f ! -iname '*.cmake' -size 0c -delete