view pixmaps/gen-inline-pixbufs.sh @ 31647:094f4c67e9c9 v9.0.1156

patch 9.0.1156: tests fail because of a different error message Commit: https://github.com/vim/vim/commit/0cb3ca9f7a1b027973239bbea3d1a20dd1676a9c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 7 13:07:11 2023 +0000 patch 9.0.1156: tests fail because of a different error message Problem: Tests fail because of a different error message. Solution: Don't give an error if a type name can't be found.
author Bram Moolenaar <Bram@vim.org>
date Sat, 07 Jan 2023 14:15:02 +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