This is an automated email from the ASF dual-hosted git repository. sergeykamov pushed a commit to branch NLPCRAFT-382 in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
commit 9249eb2f58ad30d7107e852bac5fb7e440d6b782 Author: Sergey Kamov <[email protected]> AuthorDate: Tue Aug 3 11:54:56 2021 +0300 Scripts fixed. --- bin/prepare.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/prepare.sh b/bin/prepare.sh index a498f9d..dc23544 100755 --- a/bin/prepare.sh +++ b/bin/prepare.sh @@ -84,11 +84,11 @@ function cpSrc() { rsync -avzq "$1"/src ${zipDir}/${tmpDir}/"$1" --exclude '**/.DS_Store' --exclude '**/*.iml' } -function cpSrcExtraExclude() { - rsync -avzq "$1"/src ${zipDir}/${tmpDir}/"$1" --exclude '**/.DS_Store' --exclude '**/*.iml' --exclude "$2" +function cpCore { + rsync -avzq "${coreModule}"/src ${zipDir}/${tmpDir}/"${coreModule}" --exclude '**/.DS_Store' --exclude '**/*.iml' --exclude "main/python/ctxword/data/" --exclude "**/__pycache__/" } -cpSrcExtraExclude ${coreModule} "main/python/ctxword/data/" +cpCore cpSrc ${stanfordModule} cpSrc ${exampleAlarm} cpSrc ${exampleEcho}
