Browse Source

Merge pull request #14 from manuelVo/patch-2

Fix test-bats.sh
Michael Mächtel 8 years ago
parent
commit
eb6b3b962f
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ci/test-bats.sh

+ 1
- 1
ci/test-bats.sh View File

5
 # Exit script on the first error
5
 # Exit script on the first error
6
 set -o errexit -o nounset
6
 set -o errexit -o nounset
7
 
7
 
8
-current_hw=$(find . -type d -name 'hw*' | sort | tail -n1)
8
+current_hw=$(find . -type f | grep "hw./task./Cargo\.toml" | sort | tail -n1 | cut -d / -f -2)
9
 
9
 
10
 while IFS= read -r -d '' taskdir; do
10
 while IFS= read -r -d '' taskdir; do
11
 
11
 

Loading…
Cancel
Save