Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 12596:d177c142d086 v8.0.1176
patch 8.0.1176: job_start() does not handle quote and backslash correctly
commit https://github.com/vim/vim/commit/d78f03f86045184dfd191f00359baa61e2e79d1f
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 6 01:07:41 2017 +0200
patch 8.0.1176: job_start() does not handle quote and backslash correctly
Problem: Job_start() does not handle quote and backslash correctly.
Solution: Remove quotes, recognize and remove backslashes.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 06 Oct 2017 01:15:05 +0200 |
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