view pixmaps/gen-inline-pixbufs.sh @ 19247:c077438ceb93 v8.2.0182

patch 8.2.0182: min() and max() materialize a range() list Commit: https://github.com/vim/vim/commit/9f2d020d396132ecbc0be6faa1de29c7078bb5ac Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 30 16:40:10 2020 +0100 patch 8.2.0182: min() and max() materialize a range() list Problem: Min() and max() materialize a range() list. Solution: Compute the result without materializing the list. (https://github.com/vim/vim/issues/5541)
author Bram Moolenaar <Bram@vim.org>
date Thu, 30 Jan 2020 16:45: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