mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-15 16:51:36 +00:00
fix source file detection
This commit is contained in:
@ -6,7 +6,7 @@ function backup_folder() {
|
||||
rm -rf "$3"
|
||||
fi
|
||||
|
||||
if [ -d "$1" ]; then
|
||||
if [ -r "$1" ]; then
|
||||
echo "straing copy $1 to $2"
|
||||
cp -aR "$1" "$2"
|
||||
else
|
||||
|
Reference in New Issue
Block a user