view pixmaps/gen-inline-pixbufs.sh @ 15308:d7a8f390f6d2 v8.1.0662

patch 8.1.0662: needlessly searching for tilde in string commit https://github.com/vim/vim/commit/ef0a1d5ed3566b91143d30ae9de3240f47c6e282 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 30 11:38:57 2018 +0100 patch 8.1.0662: needlessly searching for tilde in string Problem: Needlessly searching for tilde in string. Solution: Only check the first character. (James McCoy, closes https://github.com/vim/vim/issues/3734)
author Bram Moolenaar <Bram@vim.org>
date Sun, 30 Dec 2018 11:45:06 +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