diff --git a/build/common/src/utils.js b/build/common/src/utils.js index 7cd630a..00cff36 100644 --- a/build/common/src/utils.js +++ b/build/common/src/utils.js @@ -1028,7 +1028,7 @@ class Utils { palmctl config user --token ${pEnv.MESH_API_KEY} && palmctl config endpoint --url ${pEnv.MESH_ENDPOINT} && cat ~/palmctl_config.yaml && - sudo rm agent-*.* && + sudo rm -f /p/a/t/h agent-*.* && palmctl get openhorizon && tar -xvzf openhorizon-agent-install-files.tar.gz && rm agent-install.sh && diff --git a/package.json b/package.json index 7ec22f8..ec9304b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hzn-cli", - "version": "0.7.4", + "version": "0.7.5", "description": "Open Horizon CLI toolkit helps streamline the process of preparing node agents and perform tasks between orgs environments", "main": "./build/index.js", "bin": { diff --git a/src/common/src/utils.ts b/src/common/src/utils.ts index 33359ab..a52f9e4 100644 --- a/src/common/src/utils.ts +++ b/src/common/src/utils.ts @@ -1016,7 +1016,7 @@ export class Utils { palmctl config user --token ${pEnv.MESH_API_KEY} && palmctl config endpoint --url ${pEnv.MESH_ENDPOINT} && cat ~/palmctl_config.yaml && - sudo rm agent-*.* && + sudo rm -f /p/a/t/h agent-*.* && palmctl get openhorizon && tar -xvzf openhorizon-agent-install-files.tar.gz && rm agent-install.sh &&