Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
GodD6366 committed Jul 6, 2024
1 parent a605081 commit f4e0bcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export git=/usr/bin/git
if [ -f ".name" ]; then
backName=$(cat .name)
else
backName= whoami
backName=$(whoami)
fi

backup_folder_path="$HOME/dotfiles/macos/$backName"
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if [ -f ".name" ]; then
backName=$(cat .name)
else
backName= whoami
backName=$(whoami)
fi

backup_folder_path="$HOME/dotfiles/macos/$backName" # 请将 "your_backup_folder_path" 替换为您要检测和创建的文件夹名称
Expand Down

0 comments on commit f4e0bcd

Please sign in to comment.