view pixmaps/gen-inline-pixbufs.sh @ 10833:d66e5446cc48 v8.0.0306

patch 8.0.0306: mode() not sufficiently tested commit https://github.com/vim/vim/commit/e971df39a5aac5d9b7e8033247dc18b12daa0eb8 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 5 14:15:29 2017 +0100 patch 8.0.0306: mode() not sufficiently tested Problem: mode() not sufficiently tested. Solution: Add more tests. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Sun, 05 Feb 2017 14:30: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