view pixmaps/gen-inline-pixbufs.sh @ 14045:e182079c3374 v8.1.0040

patch 8.1.0040: warnings from 64-bit compiler commit https://github.com/vim/vim/commit/e31e256ba1769a3a3ed7840d5cc9a01ab058b8bc Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 10 13:12:55 2018 +0200 patch 8.1.0040: warnings from 64-bit compiler Problem: Warnings from 64-bit compiler. Solution: Add type casts. (Mike Williams)
author Christian Brabandt <cb@256bit.org>
date Sun, 10 Jun 2018 13:15: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