view pixmaps/gen-inline-pixbufs.sh @ 16227:a70f0d6686c4 v8.1.1118

patch 8.1.1118: a couple of conditions are hard to understand commit https://github.com/vim/vim/commit/652de23dc7abf6aa2721ccee7fe279b5cce8069c Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 4 20:13:09 2019 +0200 patch 8.1.1118: a couple of conditions are hard to understand Problem: A couple of conditions are hard to understand. Solution: Split the conditions into pieces. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/3879)
author Bram Moolenaar <Bram@vim.org>
date Thu, 04 Apr 2019 20:15:05 +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