aboutsummaryrefslogtreecommitdiffstats
path: root/build/templates
diff options
context:
space:
mode:
Diffstat (limited to 'build/templates')
-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