mirror of https://github.com/dapr/cli.git
create dapr install dir before copy (#1112)
Signed-off-by: hdget <hdget@qq.com> Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Co-authored-by: Shubham Sharma <shubhash@microsoft.com> Co-authored-by: Pravin Pushkar <ppushkar@microsoft.com> Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
This commit is contained in:
parent
235f40cf81
commit
a08eebb5db
|
|
@ -180,6 +180,7 @@ installFile() {
|
|||
runAsRoot rm "$DAPR_CLI_FILE"
|
||||
fi
|
||||
chmod o+x $tmp_root_dapr_cli
|
||||
mkdir -p $DAPR_INSTALL_DIR
|
||||
runAsRoot cp "$tmp_root_dapr_cli" "$DAPR_INSTALL_DIR"
|
||||
|
||||
if [ -f "$DAPR_CLI_FILE" ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue