Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Staubgeborener committed Dec 24, 2023
2 parents f6a0dfd + 340410a commit 302297b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fi
while read -r path; do
file=$(basename "$path")
cp -r "$path" "$parent_path/$backup_folder"
done < <(grep 'path_' "$parent_path"/.env | sed 's/^.*=//')
done < <(grep -v '^#' "$parent_path"/.env | grep 'path_' | sed 's/^.*=//')

# Individual commit message, if no parameter is set, use the current timestamp as commit message
if [ -n "$1" ]; then
Expand Down

0 comments on commit 302297b

Please sign in to comment.