Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 11963:f1635be0e963 v8.0.0862
patch 8.0.0862: file size test fails on MS-Windows
commit https://github.com/vim/vim/commit/07c043af5f054c7dfeb676414f8fa6aeda8f9c2b
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 4 22:56:39 2017 +0200
patch 8.0.0862: file size test fails on MS-Windows
Problem: File size test fails on MS-Windows.
Solution: Set fileformat after opening new buffer. Strip CR.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 04 Aug 2017 23:00: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