Skip to content

Commit 9311d96

Browse files
committed
For Quartus: Ignores any subdir that starts not from a digit
1 parent a897523 commit 9311d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/steps/00_setup_intel_fpga.source_bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ intel_fpga_setup_quartus ()
225225
find_dir="$intelfpga_install_parent_dir/$intelfpga_install_dir"
226226
find_opt="-mindepth 1 -maxdepth 1 -type d -print"
227227

228-
choosen_version_dir=$($find_to_run "$find_dir" $find_opt -name '[0-9]*' | sort | tail -1)
228+
choosen_version_dir=$($find_to_run "$find_dir" -name '[0-9]*' $find_opt | sort | tail -1)
229229

230230
if [ -z "$choosen_version_dir" ]
231231
then

0 commit comments

Comments
 (0)