Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
moritetu committed Feb 10, 2018
1 parent 9552fe0 commit 971f3dc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions libexec/baut-exec-compile
Expand Up @@ -242,10 +242,12 @@ baut_run_test_suit() {
VARS

# Include
local inc=
for inc in "${include_files[@]}"; do
printf ' source "%s" || abort "error: failed to include %s in %s"\n' "$inc" "'$inc'" "'$source_file'"
done
if [ ${#include_files[@]} -gt 0 ]; then
local inc=
for inc in "${include_files[@]}"; do
printf ' source "%s" || abort "error: failed to include %s in %s"\n' "$inc" "'$inc'" "'$source_file'"
done
fi

# Before segment
cat<<BEFORE
Expand Down

0 comments on commit 971f3dc

Please sign in to comment.