summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2018-12-15 08:23:56 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2018-12-15 08:23:56 +0800
commit9d76c20781d57790d675f961f8962bd283cb7bd1 (patch)
treedc76333e62e830fd351bfe12e14868ea9e95004d
parentb11c58608c709c17b0276ae48289dad92d824528 (diff)
update the export function
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r--scripts-common/helpers4
-rwxr-xr-xsync-p.sh2
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
diff --git a/sync-p.sh b/sync-p.sh
index 1340493..4cc59a4 100755
--- a/sync-p.sh
+++ b/sync-p.sh
@@ -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"