summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDesmond Chan <[email protected]>2021-08-31 02:13:09 +0800
committerGitHub <[email protected]>2021-08-30 20:13:09 +0200
commitca8d855eb0d9182bd1c24248872818701cba79e8 (patch)
treef2e15dcfbeb9305720932cf8eda2984428504788
parentce7522095d1f9c3730db2d9793ed055bdde92bef (diff)
[Bugfix] Fix cp cannot stat error during installation (#1428)
-rwxr-xr-xutils/installer/install.sh2
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"