view pixmaps/gen-inline-pixbufs.sh @ 28401:d1982178f787 v8.2.4725

patch 8.2.4725: unused variable in tiny build Commit: https://github.com/vim/vim/commit/2ce97ae6aaec7007cca16a446d73161b82f2ba69 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 9 21:13:51 2022 +0100 patch 8.2.4725: unused variable in tiny build Problem: Unused variable in tiny build. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 09 Apr 2022 22:15:04 +0200
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