Skip to content
This repository was archived by the owner on Oct 3, 2021. It is now read-only.

Commit 01dfb34

Browse files
authored
Merge pull request #1185 from sosy-lab/fix_diff_build
fix diff build
2 parents e4b333f + 062fb59 commit 01dfb34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c/diff_ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ find_parent_with_Makefile() {
3232
relevant_diff=`git diff --name-only --diff-filter=d origin/master... -- './*.i' './*.c' './*.h'`
3333
[ -z "$relevant_diff" ] && echo "Found nothing to build!!" && exit
3434
# dirs is the list of directories from the changed files
35-
dirs=`echo $relevant_diff | xargs dirname | cut -d/ -f2- | sort | uniq`
35+
dirs=`echo $relevant_diff | xargs dirname | cut -d/ -f2- -s | sort | uniq`
3636

3737
printf "Selected following directories for diff build: \n$dirs \n"
3838
for d in $dirs

0 commit comments

Comments
 (0)