view pixmaps/gen-inline-pixbufs.sh @ 11790:4dfebc1b2674 v8.0.0777

patch 8.0.0777: compiler warnings with 64 bit compiler commit https://github.com/vim/vim/commit/a1b5b0928118b135f9917679c0da28175c845140 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 26 21:29:34 2017 +0200 patch 8.0.0777: compiler warnings with 64 bit compiler Problem: Compiler warnings with 64 bit compiler. Solution: Add type casts. (Mike Williams)
author Christian Brabandt <cb@256bit.org>
date Wed, 26 Jul 2017 21:30:04 +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