Now with better logging

This commit is contained in:
H0mire
2024-05-04 17:07:53 +02:00
parent a1c03348f2
commit 9b5104ee37
+1 -1
View File
@@ -209,7 +209,7 @@ for folder in "${folders[@]}"; do
if [[ -f "$file" && ! $(file_in_excludes "$file") && ! " ${modified_files[@]} " =~ " ${file} " ]]; then if [[ -f "$file" && ! $(file_in_excludes "$file") && ! " ${modified_files[@]} " =~ " ${file} " ]]; then
# Construct the destination path # Construct the destination path
destination="$HOME/$file" destination="$HOME/$file"
echo "$destination" echo "Replacing \"$destination\" ..."
# Copy the file # Copy the file
# Create the destination folder if it doesn't exist # Create the destination folder if it doesn't exist
mkdir -p "$(dirname "$destination")" mkdir -p "$(dirname "$destination")"