view pixmaps/gen-inline-pixbufs.sh @ 10831:e926c5a7f9bf v8.0.0305

patch 8.0.0305: invalid memory access when option has duplicate flag commit https://github.com/vim/vim/commit/aaaf57d8a936efe420190c077e4a74041cc6c72e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 5 14:13:20 2017 +0100 patch 8.0.0305: invalid memory access when option has duplicate flag Problem: Invalid memory access when option has duplicate flag. Solution: Correct pointer computation. (Dominique Pelle, closes https://github.com/vim/vim/issues/1442)
author Christian Brabandt <cb@256bit.org>
date Sun, 05 Feb 2017 14:15:04 +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