Skip to content

Commit

Permalink
Remove query parameters from filename when saving devfile icon
Browse files Browse the repository at this point in the history
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
  • Loading branch information
amisevsk committed Nov 26, 2019
1 parent 19ba517 commit 3c68339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/scripts/cache_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ while read -r image; do
image_dir="${RESOURCES_DIR%/}/${image_dir%/*}"
mkdir -p "$image_dir"

cached_image="${image_dir%/}/${filename}"
cached_image="${image_dir%/}/${filename%\?*}"
mv "$file" "$cached_image"
echo " Downloaded image $image to $cached_image"

Expand Down

0 comments on commit 3c68339

Please sign in to comment.