File: install_paths

package info (click to toggle)
meld 1.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,040 kB
  • ctags: 1,123
  • sloc: python: 7,247; xml: 1,108; makefile: 241
file content (10 lines) | stat: -rwxr-xr-x 168 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
#! /usr/bin/env python

import sys

txt = sys.stdin.read()
for s in sys.argv[1:]:
    a,b = s.split("=")
    txt = txt.replace("#%s#"%a.upper(), '"%s"' % b)
print txt