pa: build.sh: Fix PA_VERSION
Change-Id: Iccb732ccbfdaeb049a79db54ac6aff806531a14c
This commit is contained in:
parent
b816a850c7
commit
c8b1aa196b
5
build.sh
5
build.sh
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# PA build helper script
|
||||
|
||||
# red = errors, cyan = warnings, green = confirmations, blue = informational
|
||||
|
@ -67,7 +67,8 @@ if [ "$(update-alternatives --list javac | wc -l)" -gt 1 ]; then
|
|||
fi
|
||||
|
||||
# Grab the build version
|
||||
PA_VERSION=$(cat $DIR_ROOT/vendor/pa/props.mk | grep 'PA_VERSION := *' | sed 's/.*= //')
|
||||
PA_VERSION="$(cat $DIR_ROOT/vendor/pa/config/version.mk | grep 'PA_VERSION_FLAVOR := *' | sed 's/.*= //') \
|
||||
$(cat $DIR_ROOT/vendor/pa/config/version.mk | grep 'PA_VERSION_CODE := *' | sed 's/.*= //')"
|
||||
|
||||
# Grab all the command-line parameters
|
||||
export DEVICE=$1
|
||||
|
|
Loading…
Reference in New Issue