view pixmaps/gen-inline-pixbufs.sh @ 32515:d1794b2317b8 v9.0.1589

patch 9.0.1589: filetype test contains too many special characters Commit: https://github.com/vim/vim/commit/b140c114f641ac4cd4fb04e7bdec031295264a8d Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 29 17:06:05 2023 +0100 patch 9.0.1589: filetype test contains too many special characters Problem: Filetype test contains too many special characters. Solution: Use Vim9 syntax for a few things.
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 May 2023 18:15: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