summaryrefslogtreecommitdiffstats
path: root/jjb/apex
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-09-01 08:57:22 -0400
committerTim Rozet <trozet@redhat.com>2017-09-01 08:57:22 -0400
commitefe2a3f0dccb02de3aa9b60a50579d19f97e654b (patch)
tree429a3f6e91c3a266452dad4f3d045db82a21979d /jjb/apex
parentb820b0dbace5554e028881870d238e3726dd2545 (diff)
Apex: fix find command for rpms
Change-Id: I75bd15be3e68fa630a59cd30a0da72b8f17b8b84 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/apex')
-rwxr-xr-xjjb/apex/apex-download-artifact.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/apex/apex-download-artifact.sh b/jjb/apex/apex-download-artifact.sh
index 7293e8243..a11fb65b8 100755
--- a/jjb/apex/apex-download-artifact.sh
+++ b/jjb/apex/apex-download-artifact.sh
@@ -52,7 +52,7 @@ else
mkdir -p ~/apex_rpms
pushd ~/apex_rpms
# Remove older rpms which do not match this version
- find . ! -name *${VERSION_EXTENSION}.noarch.rpm -type f -exec rm -f {} +
+ find . ! -name "*${VERSION_EXTENSION}.noarch.rpm" -type f -exec rm -f {} +
# Download RPM only if changed on server
for rpm in $RPM_LIST; do
wget -N ${RPM_INSTALL_PATH}/${rpm}