blob: d3d63bc9f463e2b42f54a38b991c65df9117f611 [file] [log] [blame]
#!/bin/bash
LYNQ_VERSION="LYNQ_VERSION=\"T800_RNDIS_v02.MP1_MR3.01b05.05.00\""
LYNQ_SW_INSIDE_VERSION="#define LYNQ_SW_INSIDE_VERSION \"T800_RNDIS_v02.MP1_MR3.01b05.05.00\""
LYNQ_SW_VERSION="#define LYNQ_SW_VERSION \"T800v02.MP1_MR3.01b05.05\""
eval sed -i 's/^.*define[[:space:]][[:space:]]LYNQ_SW_INSIDE_VERSION.*$/"${LYNQ_SW_INSIDE_VERSION}"/' $(pwd)/src/lynq/packages/apps/lynq-default/lynq_default.c
eval sed -i 's/^.*define[[:space:]][[:space:]]LYNQ_SW_VERSION.*$/"${LYNQ_SW_VERSION}"/' $(pwd)/src/lynq/packages/apps/lynq-default/lynq_default.c