view pixmaps/gen-inline-pixbufs.sh @ 23162:c923f1888a77 v8.2.2127

patch 8.2.2127: Vim9: executing user command from Vim9 script not tested Commit: https://github.com/vim/vim/commit/70249ee831df357c1a5475473fc84c40d101a67d Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 10 21:01:30 2020 +0100 patch 8.2.2127: Vim9: executing user command from Vim9 script not tested Problem: Vim9: executing user command defined in Vim9 script not tested. Solution: Add a test.
author Bram Moolenaar <Bram@vim.org>
date Thu, 10 Dec 2020 21:15:04 +0100
parents 3fc0f57ecb91
children d4faa2c5211b
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