projects
/
arvados-dev.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99e1256
)
adds safety quotes and '-[0-9]' before wildcard as suggested in PR #6 comments
author
Joshua C. Randall <jcrandall@alum.mit.edu>
Fri, 19 Feb 2016 14:11:47 +0000
(14:11 +0000)
committer
Joshua C. Randall <jcrandall@alum.mit.edu>
Fri, 19 Feb 2016 14:11:47 +0000
(14:11 +0000)
jenkins/run-library.sh
patch
|
blob
|
history
diff --git
a/jenkins/run-library.sh
b/jenkins/run-library.sh
index 7198345b117590e974dd5287ff0dfd95a6102898..117e2d2a832039138737ac49d978cf9b0683b62a 100755
(executable)
--- a/
jenkins/run-library.sh
+++ b/
jenkins/run-library.sh
@@
-270,7
+270,7
@@
fpm_build () {
apt-get install -y "$pkg"
fi
else
- pkg_rpm=$(ls
$WORKSPACE/packages/$TARGET/$pkg
*.rpm | sort -rg | awk 'NR==1')
+ pkg_rpm=$(ls
"$WORKSPACE/packages/$TARGET/$pkg"-[0-9]
*.rpm | sort -rg | awk 'NR==1')
if [[ -e $pkg_rpm ]]; then
echo "Installing build_dep $pkg from $pkg_rpm"
rpm -i "$pkg_rpm"