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:
f29d526
)
Correct error in filename when fetching packages via launchpad API
48/2248/2
author
Carsten Koester
<
[email protected]
>
Mon, 8 Aug 2016 05:12:38 +0000
(22:12 -0700)
committer
Dave Wallace
<
[email protected]
>
Tue, 9 Aug 2016 21:25:50 +0000
(21:25 +0000)
Change-Id: I816ccf58bc52737893d21be3d8fb08a87c703198
Signed-off-by: Carsten Koester <
[email protected]
>
resources/tools/disk-image-builder/ubuntu/build.sh
patch
|
blob
|
history
diff --git
a/resources/tools/disk-image-builder/ubuntu/build.sh
b/resources/tools/disk-image-builder/ubuntu/build.sh
index
33634ad
..
2b953f1
100755
(executable)
--- a/
resources/tools/disk-image-builder/ubuntu/build.sh
+++ b/
resources/tools/disk-image-builder/ubuntu/build.sh
@@
-209,7
+209,8
@@
do
then
echo "WARNING: Unable to get package using previously recorded URL, may"
echo " be superseded. Trying launchpad instead."
- wget -P ${APT_CACHE_DIR} -O ${APT_CACHE_DIR}/$name "${LAUNCHPAD_URL}${name}"
+ url_basename=$(basename $url | tr -d "'")
+ wget -P ${APT_CACHE_DIR} -O ${APT_CACHE_DIR}/$name "${LAUNCHPAD_URL}${url_basename}"
fi
fi