This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/master by this push:
new 8e5aa09 Scripts fixed.
8e5aa09 is described below
commit 8e5aa091092c8bfa43d9c29c46e82f92f7c7e63a
Author: Sergey Kamov <[email protected]>
AuthorDate: Wed Aug 4 09:50:19 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}