浏览代码

Fix test-bats.sh

Manuel Vögele 8 年前
父节点
当前提交
b8cfe42eeb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      ci/test-bats.sh

+ 1
- 1
ci/test-bats.sh 查看文件

@@ -5,7 +5,7 @@
5 5
 # Exit script on the first error
6 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 10
 while IFS= read -r -d '' taskdir; do
11 11
 

正在加载...
取消
保存