view pixmaps/gen-inline-pixbufs.sh @ 27063:3bad1cf600ed v8.2.4060

patch 8.2.4060: win_execute() slow on systems where getcwd()/chdir() is slow Commit: https://github.com/vim/vim/commit/d6f27c66cca32b93fcf8024b1bad1618946bbbea Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 11 12:37:20 2022 +0000 patch 8.2.4060: win_execute() slow on systems where getcwd()/chdir() is slow Problem: win_execute() is slow on systems where getcwd() or chdir() is slow. (Rick Howe) Solution: Avoid using getcwd() and chdir() if no local directory is used and 'acd' is not set. (closes #9504)
author Bram Moolenaar <Bram@vim.org>
date Tue, 11 Jan 2022 13:45:04 +0100
parents d4faa2c5211b
children
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