Skip to content

Commit

Permalink
Merge branch 'master' into new-gc-master-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
theo25 committed Apr 15, 2022
2 parents 0e61071 + 532855b commit 337e34b
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion bin/llvm-krun
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,21 @@ else
fi

if $dryRun; then
if [ -n "$real_output_file" ]; then
if [ $binary_input != $binary_output ] && [ -n "$real_output_file" ]; then
(
if [ -n "$verbose" ]; then
set -x
fi
"$(dirname "$0")/kore-convert" "$expanded_input_file" -o "$real_output_file"
)
elif [ $binary_input != $binary_output ]; then
(
if [ -n "$verbose" ]; then
set -x
fi
"$(dirname "$0")/kore-convert" -F "$expanded_input_file"
)
elif [ -n "$real_output_file" ]; then
cat "$expanded_input_file" > "$real_output_file"
else
cat "$expanded_input_file"
Expand Down

0 comments on commit 337e34b

Please sign in to comment.