view pixmaps/gen-inline-pixbufs.sh @ 24164:2259c73cc1d9 v8.2.2623

patch 8.2.2623: some tests fail when run as root Commit: https://github.com/vim/vim/commit/17709e280ac5ba234b04641cde88d38e3522cedf Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 19 14:38:12 2021 +0100 patch 8.2.2623: some tests fail when run as root Problem: Some tests fail when run as root. Solution: Use CheckNotRoot.
author Bram Moolenaar <Bram@vim.org>
date Fri, 19 Mar 2021 14: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