view pixmaps/gen-inline-pixbufs.sh @ 15420:9171193ae720 v8.1.0718

patch 8.1.0718: a couple compiler warnings commit https://github.com/vim/vim/commit/402385a7f2fed23acef7ad3ce75252706b1d7606 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 11 14:10:03 2019 +0100 patch 8.1.0718: a couple compiler warnings Problem: A couple compiler warnings. Solution: Rename shadowed variables. Add UNUSED.
author Bram Moolenaar <Bram@vim.org>
date Fri, 11 Jan 2019 14:15:05 +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