diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2018-12-15 08:23:56 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2018-12-15 08:23:56 +0800 |
commit | 9d76c20781d57790d675f961f8962bd283cb7bd1 (patch) | |
tree | dc76333e62e830fd351bfe12e14868ea9e95004d | |
parent | b11c58608c709c17b0276ae48289dad92d824528 (diff) |
update the export function
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | scripts-common/helpers | 4 | ||||
-rwxr-xr-x | sync-p.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/scripts-common/helpers b/scripts-common/helpers index ea32462..eee59c3 100644 --- a/scripts-common/helpers +++ b/scripts-common/helpers @@ -6,6 +6,10 @@ CPUS=$(grep processor /proc/cpuinfo |wc -l) function export_config(){ local f_config=$1 while read line; do + if echo "${line}"|tr -d '[:blank:]'|grep -q '^$'; then + continue + fi + if ! echo $line |grep -q '^#'; then eval "export $line" fi @@ -16,7 +16,7 @@ else exit 1 fi -branch="android-9.0.0_r8" +branch="android-9.0.0_r22" LOCAL_MANIFEST="git://android-git.linaro.org/platform/manifest.git" LOCAL_MANIFEST_BRANCH="linaro-p-preview" |