소스 검색

[Bugfix] Fix cp cannot stat error during installation (#1428)

Desmond Chan 3 년 전
부모
커밋
ca8d855eb0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      utils/installer/install.sh

+ 1 - 1
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"