view pixmaps/gen-inline-pixbufs.sh @ 29527:e7158d889784 v9.0.0105

patch 9.0.0105: illegal memory access when pattern starts with illegal byte Commit: https://github.com/vim/vim/commit/f50940531dd57135fe60aa393ac9d3281f352d88 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 29 16:22:25 2022 +0100 patch 9.0.0105: illegal memory access when pattern starts with illegal byte Problem: Illegal memory access when pattern starts with illegal byte. Solution: Do not match a character with an illegal byte.
author Bram Moolenaar <Bram@vim.org>
date Fri, 29 Jul 2022 17:30:03 +0200
parents d4faa2c5211b
children
line wrap: on
line source

#! /bin/sh

prefix=stock_
list=

for file in "$@"; do
    name=$(echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||')
    list="$list $prefix$name $file"
done

gdk-pixbuf-csource --raw --static --build-list $list