Skip to content

Commit 007a471

Browse files
committed
Fixed warehouse for higher level directories don's exist at destination.
2 parents 62a724c + 341e973 commit 007a471

File tree

4 files changed

+101
-98
lines changed

4 files changed

+101
-98
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ data/
183183
utils
184184
.codeiumignore
185185
project-planning
186+
master-planning
186187
output.txt
187188
manifest.bak
188189
.spellignore
190+
.project-planning
191+
.master-planning

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 2024-12-28 - Warehouse Tool Improvements
4+
5+
- handled if higher level directories don't exist at destination.
6+
37
## 2024-12-23 - Core Functionality Enhancements
48

59
### Setup Script Improvements

bin/warehouse.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ fi
6666

6767
# Move the directory to Warehouse with error checking
6868
(cd "${source_directory}" && tar cf - "${object_name}") | \
69-
(cd "${destination_directory}" && tar xf -)
69+
(mkdir -p "${destination_directory}" && cd "${destination_directory}" && tar xf -)
7070
# shellcheck disable=SC2206
7171
tar_exit=(${PIPESTATUS[*]})
7272
echo "Status ${tar_exit[*]}"

0 commit comments

Comments
 (0)