Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5e0dafe
)
Use package location for apt-cache show command
24/18924/1
author
Jan Gelety
<jgelety@cisco.com>
Sat, 13 Apr 2019 01:23:04 +0000
(
03:23
+0200)
committer
Jan Gelety
<jgelety@cisco.com>
Tue, 16 Apr 2019 12:15:56 +0000
(12:15 +0000)
Change-Id: I141baa77c78ec467a56fcafb86061efe198dca9d
Signed-off-by: Jan Gelety <jgelety@cisco.com>
(cherry picked from commit
c4e29c78d3eaafc6e340390a2623d3fa55b54ea3
)
resources/libraries/bash/function/artifacts.sh
patch
|
blob
|
history
diff --git
a/resources/libraries/bash/function/artifacts.sh
b/resources/libraries/bash/function/artifacts.sh
index
fe300d1
..
fc9c886
100644
(file)
--- a/
resources/libraries/bash/function/artifacts.sh
+++ b/
resources/libraries/bash/function/artifacts.sh
@@
-86,7
+86,9
@@
function download_ubuntu_artifacts () {
}
if [ -z "${VPP_VERSION-}" ]; then
# If version is not specified, find out the most recent version
- VPP_VERSION=$(apt-cache --no-all-versions show vpp | grep Version: | \
+ VPP_VERSION=$(apt-cache -o Dir::Etc::SourceList=${apt_fdio_repo_file} \
+ -o Dir::Etc::SourceParts=${apt_fdio_repo_file} \
+ --no-all-versions show vpp | grep Version: | \
cut -d " " -f 2) || {
die "Retrieval of most recent VPP version failed."
}