diff options
author | Clément Bénier <clement.benier@iot.bzh> | 2018-10-01 17:18:39 +0200 |
---|---|---|
committer | Clément Bénier <clement.benier@iot.bzh> | 2018-10-02 14:43:29 +0000 |
commit | 512e0a74993b9a5c58e11513725d1c96a7063f37 (patch) | |
tree | 97a1f1e7142e48bce7bd30778d2e1efa328d360c /scripts/sdks/agl/_env-init.sh | |
parent | 95293a7ee22cfff9c49a19bd7ae205529d812fa9 (diff) |
fix sdks list bug: move rgx into db-dump
SPEC-1777
only match what defines a variable
remove set because it adds simple quote with special characters
Change-Id: Ib7c13869c9d965c0c0dae1ae69eeeaf446b1ce58
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Diffstat (limited to 'scripts/sdks/agl/_env-init.sh')
-rwxr-xr-x | scripts/sdks/agl/_env-init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/sdks/agl/_env-init.sh b/scripts/sdks/agl/_env-init.sh index 9b92d56..9d4b398 100755 --- a/scripts/sdks/agl/_env-init.sh +++ b/scripts/sdks/agl/_env-init.sh @@ -29,4 +29,4 @@ export SDK_ROOT_DIR="$XDT_SDK" export SDK_ENV_SETUP_FILENAME="environment-setup-*" export SDK_DATABASE="http://iot.bzh/download/public/XDS/sdk/sdks_latest.json" -[ "$1" = "-print" ] && ( set -o posix; set | grep '[A-Za-z0-9_]\{1,\}='; ) +[ "$1" = "-print" ] && { env; }
\ No newline at end of file |