view pixmaps/gen-inline-pixbufs.sh @ 32019:274e1b3fbc2a v9.0.1341

patch 9.0.1341: build error with mzscheme but without GUI Commit: https://github.com/vim/vim/commit/4ee083e7f9e973a9f5939eb0cd477aa52fbab51c Author: K.Takata <kentkt@csc.jp> Date: Wed Feb 22 13:14:36 2023 +0000 patch 9.0.1341: build error with mzscheme but without GUI Problem: Build error with mzscheme but without GUI. Solution: Adjust #ifdefs. (Ken Takata, closes https://github.com/vim/vim/issues/12042) Also fix function argument.
author Bram Moolenaar <Bram@vim.org>
date Wed, 22 Feb 2023 14:15:02 +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