view pixmaps/gen-inline-pixbufs.sh @ 18616:8eeed64a6325

Fix vim.desktop generation. Commit: https://github.com/vim/vim/commit/1ebbb6ee452dfca89335ac75f07c3db133b56645 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 14 21:39:32 2019 +0100 Fix vim.desktop generation.
author Bram Moolenaar <Bram@vim.org>
date Thu, 14 Nov 2019 21:45:04 +0100
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