view pixmaps/gen-inline-pixbufs.sh @ 21751:cc8188c22a47 v8.2.1425

patch 8.2.1425: Vim9: cannot use call() without :call Commit: https://github.com/vim/vim/commit/575f24b3f3d8cd8bfc2da402c2938c0c7ace7877 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 12 14:21:11 2020 +0200 patch 8.2.1425: Vim9: cannot use call() without :call Problem: Vim9: cannot use call() without :call. Solution: Do not skip over "call(". (closes https://github.com/vim/vim/issues/6689)
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Aug 2020 14:30:04 +0200
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