diff --git a/projects/scripts/adi_pd.tcl b/projects/scripts/adi_pd.tcl index 0dface9f4..d9707c8a3 100644 --- a/projects/scripts/adi_pd.tcl +++ b/projects/scripts/adi_pd.tcl @@ -109,8 +109,8 @@ proc sysid_gen_sys_init_file {{custom_string {}}} { set git_clean_string "f"; if {$gitsha_string != 0} { - if {[catch {exec git status .} gitstat_string] == 0} { - if [expr [string match *modified $gitstat_string] == 0] { + if {[catch {exec git status} gitstat_string] == 0} { + if [expr [string match *modified* $gitstat_string] == 0] { set git_clean_string "t"; } }