Skip to content
Merged
Changes from all 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
8 changes: 6 additions & 2 deletions operations/_scripts/generate/generate_bitops_incoming.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ function helm_move_content_prepend() {
source_folder="$1"
destination_folder="$2"
number="$3"

echo "tree source_folder ($source_folder)"
tree "$source_folder"

find "$source_folder" -maxdepth 1 -type d -not -name "." -path "$source_folder/*" | while read chart_folder; do
# Move files from source folder to destination folder
chart_name=$(basename "$chart_folder")
Expand Down Expand Up @@ -201,8 +205,8 @@ function helm_move_content_prepend() {
done
# Move remaining folders (if they exist) and exclude the . folder
find "$chart_folder" -maxdepth 1 -type d -not -name "." -path "$chart_folder/*" | while read folder; do
echo "mv $folder $destination_folder/$chart_name/."
mv "$folder" "$destination_folder/$chart_name/."
echo "rsync -av $folder $destination_folder/$chart_name/"
rsync -av "$folder" "$destination_folder/$chart_name/"
done
echo "Printing chart result"
tree "$destination_folder/$chart_name"
Expand Down