Mercurial > mxe-octave
comparison src/msvc-itstool-1.patch @ 3179:90341dd4590e
add itstool module (and MSVC-specific patch)
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Thu, 25 Jul 2013 20:04:17 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3178:a791ade9c790 | 3179:90341dd4590e |
---|---|
1 diff -ur itstool-1.2.0-orig/itstool.in itstool-1.2.0/itstool.in | |
2 --- itstool-1.2.0-orig/itstool.in 2012-05-16 11:19:34 -0400 | |
3 +++ itstool-1.2.0/itstool.in 2013-07-25 19:25:40 -0400 | |
4 @@ -1,4 +1,4 @@ | |
5 -#!/usr/bin/python -s | |
6 +#!python -s | |
7 # | |
8 # Copyright (c) 2010-2011 Shaun McCance <shaunm@gnome.org> | |
9 # | |
10 @@ -559,9 +559,9 @@ | |
11 ddir = os.getenv('XDG_DATA_DIRS', '') | |
12 if ddir == '': | |
13 if DATADIR not in ('/usr/local/share', '/usr/share'): | |
14 - ddir += DATADIR + ':' | |
15 - ddir += '/usr/local/share:/usr/share' | |
16 - dirs.extend(ddir.split(':')) | |
17 + ddir += DATADIR + os.pathsep | |
18 + ddir += '/usr/local/share' + os.pathsep + '/usr/share' | |
19 + dirs.extend(ddir.split(os.pathsep)) | |
20 ddone = {} | |
21 for ddir in dirs: | |
22 itsdir = os.path.join(ddir, 'itstool', 'its') |