Skip to content

Commit

Permalink
Update custom_steps.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmercerind authored Oct 12, 2024
1 parent 0d9facb commit 9823f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/custom_steps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9823f25

Please sign in to comment.