Commit d5e612f8 authored by Marcus M. Darden's avatar Marcus M. Darden
Browse files

Change 'identifier' target to use printf not echo

Prior to this change, the non-portable `echo -n` was used to list the
offending files without a project identifier during `make identifier`.
The proper way to do this is use printf.

This resolves issue #1.
parent b538bc61
......@@ -97,7 +97,7 @@ static:
# also removes old submit tarballs, they are outdated
identifier:
@if [ $$(grep --include=*.{h,hpp,c,cpp} --exclude=xcode_redirect.hpp --directories=skip -L $(IDENTIFIER) * | wc -l) -ne 0 ]; then \
echo "Missing project identifier in file(s): \c"; \
printf "Missing project identifier in file(s): "; \
echo `grep --include=*.{h,hpp,c,cpp} --directories=skip -L $(IDENTIFIER) *`; \
rm -f $(PARTIAL_SUBMITFILE) $(FULL_SUBMITFILE); \
exit 1; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment