view pixmaps/gen-inline-pixbufs.sh @ 25304:d39c12f97298 v8.2.3189

patch 8.2.3189: Vim9: error when using "try|" Commit: https://github.com/vim/vim/commit/9fa5dabedc4ed5af85773413e91c2fdbe4cb9f0a Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 20 19:18:44 2021 +0200 patch 8.2.3189: Vim9: error when using "try|" Problem: Vim9: error when using "try|". Solution: Allow for "|" right after a command.
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Jul 2021 19:30:03 +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