Skip to content

Commit

Permalink
run in bash
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpintarelli committed May 27, 2024
1 parent 429585e commit fa423d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check_format.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash

check_diff() {
local status=0
Expand All @@ -12,4 +12,4 @@ check_diff() {

export -f check_diff

find . -type f \( -name "*.cpp" -o -name "*.hpp" \) ! -path "./build-env/*" ! -path "./.*" -exec sh -c 'check_diff "$@"' sh {} +
find . -type f \( -name "*.cpp" -o -name "*.hpp" \) ! -path "./build-env/*" ! -path "./.*" -exec bash -c 'check_diff "$@"' sh {} +

0 comments on commit fa423d3

Please sign in to comment.