diff options
author | Desmond Chan <[email protected]> | 2021-08-31 02:13:09 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-30 20:13:09 +0200 |
commit | ca8d855eb0d9182bd1c24248872818701cba79e8 (patch) | |
tree | f2e15dcfbeb9305720932cf8eda2984428504788 | |
parent | ce7522095d1f9c3730db2d9793ed055bdde92bef (diff) |
[Bugfix] Fix cp cannot stat error during installation (#1428)
-rwxr-xr-x | utils/installer/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/installer/install.sh b/utils/installer/install.sh index 9e198274..c39f6c8e 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -214,7 +214,7 @@ function backup_old_config() { rsync --archive -hh --partial --progress --cvs-exclude \ --modify-window=1 "$dir"/ "$dir.bak" else - cp -R "$dir/*" "$dir.bak/." + cp -R "$dir/"* "$dir.bak/." fi done echo "Backup operation complete" |