summaryrefslogtreecommitdiffstats
path: root/build/templates/compass_core.tmpl
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2015-11-17 07:29:20 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-11-17 07:29:21 +0000
commitb2c43e6309342b450cbd895d28ae2da2ad0847e8 (patch)
tree6ed75cc63e214f1130277da99c4294577de2da32 /build/templates/compass_core.tmpl
parentbc68ab08a3c3d4058a798ba59eafae6126ffd3e4 (diff)
parent40559d47089d66c0c81b9d7fd1a2c81b490a5927 (diff)
Merge "using ELK in web-ui for running log"
Diffstat (limited to 'build/templates/compass_core.tmpl')
-rw-r--r--build/templates/compass_core.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/templates/compass_core.tmpl b/build/templates/compass_core.tmpl
index 9c88cc4f..afecba58 100644
--- a/build/templates/compass_core.tmpl
+++ b/build/templates/compass_core.tmpl
@@ -16,8 +16,8 @@ yum -y install $pkg
mkdir -p /centos6-package
-find /var/cache/yum/ -name *.rpm | xargs -i cp {} /centos6-package
+find /var/cache/yum/ -name "*.rpm" | xargs -i cp {} /centos6-package
-find /centos6-package -size 0 -name *.rpm | xargs rm -f
+find /centos6-package -size 0 -name "*.rpm" | xargs rm -f
tar -zcvf /centos6-package.tar.gz /centos6-package