view pixmaps/gen-inline-pixbufs.sh @ 24762:bebc295010b8 v8.2.2919

patch 8.2.2919: using ":!command" does not work if it uses posix_spawn() Commit: https://github.com/vim/vim/commit/6a43b37b760347b9a1bedf12e41b458000922969 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 1 20:48:40 2021 +0200 patch 8.2.2919: using ":!command" does not work if it uses posix_spawn() Problem: Using ":!command" does not work if the command uses posix_spawn(). Solution: Do not call ioctl() with TIOCSCTTY. (Felipe Contreras)
author Bram Moolenaar <Bram@vim.org>
date Tue, 01 Jun 2021 21: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