view pixmaps/gen-inline-pixbufs.sh @ 5320:07737d3aa817 v7.4.013

updated for version 7.4.013 Problem: File name buffer too small for utf-8. Solution: Use character count instead of byte count. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Fri, 30 Aug 2013 16:51:18 +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