Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions localhive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ if [[ $SKIP_CLI -eq 0 ]]; then
fi
mkdir -p "$CLI_BIN_DIR"

# Copy all files from the publish directory (CLI and its dependencies)
if ! cp -f "$CLI_PUBLISH_DIR"/* "$CLI_BIN_DIR"/; then
# Copy all files and directories from the publish directory (CLI and its dependencies).
if ! cp -Rf "$CLI_PUBLISH_DIR"/. "$CLI_BIN_DIR"/; then
error "Failed to copy CLI files from $CLI_PUBLISH_DIR to $CLI_BIN_DIR"
exit 1
fi
Expand Down
Loading