view pixmaps/gen-inline-pixbufs.sh @ 18386:105c6cf8b266 v8.1.2187

patch 8.1.2187: error for bad regexp even though regexp is not used Commit: https://github.com/vim/vim/commit/b40c2576d4e0e2dd2c580414c45947d88556d76d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 19 21:01:05 2019 +0200 patch 8.1.2187: error for bad regexp even though regexp is not used Problem: Error for bad regexp even though regexp is not used when writing a file. (Arseny Nasokin) Solution: Ignore regexp errors. (closes #5059)
author Bram Moolenaar <Bram@vim.org>
date Sat, 19 Oct 2019 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