view pixmaps/gen-inline-pixbufs.sh @ 16617:24233eeaadd0 v8.1.1311

patch 8.1.1311: aborting an autocmd with an exception is not tested commit https://github.com/vim/vim/commit/23b5139234a79567097ca73aba15ea134381b934 Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 9 21:38:43 2019 +0200 patch 8.1.1311: aborting an autocmd with an exception is not tested Problem: Aborting an autocmd with an exception is not tested. Solution: Add a test. Also shows how to abort a command by throwing an exception.
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 May 2019 21:45:05 +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