fix double awk

old-commit-hash: ce8a040cc2ea5b4a430c60962a9fa1dc0072d9de
This commit is contained in:
Adeeb Shihadeh
2020-11-24 13:30:11 -08:00
parent 8ef01670fb
commit 86bc11f219

View File

@@ -35,7 +35,7 @@ else
git checkout --orphan release2-staging
fi
VERSION=$(cat selfdrive/common/version.h | awk awk -F[\"-] '{print $2}')
VERSION=$(cat selfdrive/common/version.h | awk -F[\"-] '{print $2}')
echo "#define COMMA_VERSION \"$VERSION-release\"" > selfdrive/common/version.h
git commit -m "openpilot v$VERSION"