diff options
Diffstat (limited to 'resources/tools')
-rwxr-xr-x | resources/tools/disk-image-builder/ubuntu/build.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/tools/disk-image-builder/ubuntu/build.sh b/resources/tools/disk-image-builder/ubuntu/build.sh index 33634adf02..2b953f1c3a 100755 --- 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 |