view pixmaps/gen-inline-pixbufs.sh @ 24541:df90c61c306c v8.2.2810

patch 8.2.2810: Vim9: crash when calling a function in a substitute expression Commit: https://github.com/vim/vim/commit/d386e923c751f389b2ac038ff2cb7b40035f8cc6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 25 14:48:49 2021 +0200 patch 8.2.2810: Vim9: crash when calling a function in a substitute expression Problem: Vim9: crash when calling a function in a substitute expression. Solution: Set the instructions back to the substitute expression instrunctions. (closes #8148)
author Bram Moolenaar <Bram@vim.org>
date Sun, 25 Apr 2021 15:00: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