view pixmaps/gen-inline-pixbufs.sh @ 9155:e4d7e6d1a0f1 v7.4.1861

commit https://github.com/vim/vim/commit/b055066a1daf12c349d6c575aff22ae4d999a157 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 31 21:37:36 2016 +0200 patch 7.4.1861 Problem: Compiler warnings with 64 bit compiler. Solution: Change int to size_t. (Mike William)
author Christian Brabandt <cb@256bit.org>
date Tue, 31 May 2016 21:45: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