From ca8d855eb0d9182bd1c24248872818701cba79e8 Mon Sep 17 00:00:00 2001 From: Desmond Chan Date: Tue, 31 Aug 2021 02:13:09 +0800 Subject: [Bugfix] Fix cp cannot stat error during installation (#1428) --- utils/installer/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/installer') 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" -- cgit v1.2.3