зеркало из https://github.com/telerik/docs-seed.git
fix: Excluded files should be on a separate line for rsync
This commit is contained in:
Родитель
844b05fd8d
Коммит
179f1418fc
|
@ -0,0 +1,11 @@
|
|||
.git
|
||||
.vscode
|
||||
.asset-cache
|
||||
_site
|
||||
.github
|
||||
_buildApi
|
||||
README.md
|
||||
.gitignore
|
||||
.contentignore
|
||||
exclude_files.txt
|
||||
exclude_dirs.txt
|
|
@ -15,7 +15,7 @@ if [ -z "$2" ] || [ "$2" = "false" ]; then
|
|||
dirs_to_exclude="`cat ./exclude_dirs.txt`"
|
||||
robocopy . "$destination" //XD $dirs_to_exclude //XF $files_to_exclude //E
|
||||
else
|
||||
rsync -arv --exclude-from=./exclude_files.txt --exclude-from=./exclude_dirs.txt $(pwd)/ "$destination"
|
||||
rsync -arv --exclude-from=./.exclude $(pwd)/ "$destination"
|
||||
fi
|
||||
|
||||
#shopt -s extglob
|
||||
|
|
|
@ -1 +1 @@
|
|||
README.md .gitignore .contentignore exclude_files.txt exclude_dirs.txt
|
||||
README.md .gitignore .contentignore exclude_files.txt exclude_dirs.txt .exclude
|
||||
|
|
Загрузка…
Ссылка в новой задаче