view pixmaps/gen-inline-pixbufs.sh @ 34532:64edf95a833a v9.1.0168

patch 9.1.0168: too many STRLEN() calls Commit: https://github.com/vim/vim/commit/bfcc895482c717c9f6d86890d789ec739c3016b4 Author: John Marriott <basilisk@internode.on.net> Date: Mon Mar 11 22:04:45 2024 +0100 patch 9.1.0168: too many STRLEN() calls Problem: too many STRLEN() calls Solution: Make use of ml_get_len() calls instead (John Marriott) closes: #14123 Signed-off-by: John Marriott <basilisk@internode.on.net> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 11 Mar 2024 22:15:03 +0100
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