Skip to content

Commit

Permalink
[tools] source_deps_cp.sh: fix condition for log.hpp detection
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpoelen committed Jan 19, 2024
1 parent 7c698a2 commit 179dd3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/source_deps_cp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ while read l ; do
done < <(bjam "$@" cxxflags='-MM -MF -' -a ||:)

# insert all cpp for log.hpp (the choice depends on the compilation options)
if [[ $f = 'src/utils/log.hpp' ]]; then
if [[ -v sources['src/utils/log.hpp'] ]]; then
if [[ ! -v sources['src/utils/log_as_logprint.cpp'] ]]; then
dirset[src/utils]+="$redemption_path/src/utils/log_as_logprint.cpp "
fi
Expand Down

0 comments on commit 179dd3a

Please sign in to comment.