File: create_config.sh

package info (click to toggle)
weakforced 3.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,196 kB
  • sloc: cpp: 20,397; python: 2,002; sh: 700; makefile: 432
file content (8 lines) | stat: -rw-r--r-- 150 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/bin/bash

python3 -c 'import os
import sys
import jinja2
sys.stdout.write(
    jinja2.Template(sys.stdin.read()
).render(env=os.environ))' <$1 >$2