Skip to content

Commit 444bcfd

Browse files
authored
Merge pull request #48 from einerlei/fix/cp-preserve-symlinks
fix: use cp -rP to preserve symlinks in backup
2 parents 0bba8f6 + db9462d commit 444bcfd

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"name": "workflow-orchestrator",
99
"source": "./",
1010
"description": "Delegation system with workflow orchestration, specialized agents, and parallel execution for Claude Code",
11-
"version": "2.1.0",
11+
"version": "2.1.1",
1212
"author": {
1313
"name": "Nadav Barkai"
1414
},

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "workflow-orchestrator",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "Delegation system with workflow orchestration, specialized agents, and parallel execution for Claude Code",
55
"author": {
66
"name": "Nadav Barkai"

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [2.1.1] - 2026-05-04
6+
7+
### Fixed
8+
- **`install.sh`: use `cp -rP` to preserve symlinks in backup.** Switched from `cp -r` to `cp -rP` so symbolic links inside the Claude directory are copied as symlinks rather than dereferenced, preventing backups from breaking links that point outside the directory.
9+
510
## [2.1.0] - 2026-04-26
611

712
### BREAKING CHANGES

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ backup_existing_installation() {
193193
print_info "Existing installation found at $claude_dir"
194194
print_info "Creating backup at: $backup_name"
195195

196-
if cp -r "$claude_dir" "$backup_name"; then
196+
if cp -rP "$claude_dir" "$backup_name"; then
197197
print_success "Backup created successfully: $backup_name"
198198
# Set global variable for trap handler restore operations
199199
BACKUP_PATH="$backup_name"

0 commit comments

Comments
 (0)