view pixmaps/gen-inline-pixbufs.sh @ 15910:da4d1f69374e v8.1.0961

patch 8.1.0961: Mac: fsync may fail sometimes commit https://github.com/vim/vim/commit/9166838420c2e2029270c4683f68aecd3db5a484 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 21 12:16:12 2019 +0100 patch 8.1.0961: Mac: fsync may fail sometimes Problem: Mac: fsync may fail sometimes. Solution: Do not check errno. (Yee Cheng Chin, closes https://github.com/vim/vim/issues/4025)
author Bram Moolenaar <Bram@vim.org>
date Thu, 21 Feb 2019 12:30:08 +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