view pixmaps/gen-inline-pixbufs.sh @ 11319:2dc624388934 v8.0.0545

patch 8.0.0545: edit test may fail on some systems commit https://github.com/vim/vim/commit/15ecbd6f3d39ff04862999a577962ef9369a9e53 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 7 14:10:48 2017 +0200 patch 8.0.0545: edit test may fail on some systems Problem: Edit test may fail on some systems. Solution: If creating a directory with a very long path fails, bail out.
author Christian Brabandt <cb@256bit.org>
date Fri, 07 Apr 2017 14:15:07 +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