view pixmaps/gen-inline-pixbufs.sh @ 12658:20aacdca367d v8.0.1207

patch 8.0.1207: profiling skips the first and last script line commit https://github.com/vim/vim/commit/67435d9983965c5c77fc74f0559779ce4554dacb Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 19 21:04:37 2017 +0200 patch 8.0.1207: profiling skips the first and last script line Problem: Profiling skips the first and last script line. Solution: Check for BOM after setting script ID. (Lemonboy, closes https://github.com/vim/vim/issues/2103, closes #2112) Add a test. List the trailing script lines.
author Christian Brabandt <cb@256bit.org>
date Thu, 19 Oct 2017 21:15: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