Commit a098e8b2 authored by Ondřej Surý's avatar Ondřej Surý

Get rid of echo -n and use pure awk

parent 1ae268c0
echo -n $(awk '/^#define LIBKNOT_VERSION_'$1'/ { print $3 }' src/libknot/version.h | sed -e 's/"//g')
awk '/^#define LIBKNOT_VERSION_'$1'/ { printf "%s", $3 }' src/libknot/version.h | sed -e 's/"//g'
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