Commit df52fd46 authored by Kenneth Reitz's avatar Kenneth Reitz

whitespace stripper for runtime.txt

parent 2e37a969
set +e
# Fix any pending whitespace around runtime.txt.
runtime-fixer runtime.txt
PYTHON_VERSION=$(cat runtime.txt)
# Install Python.
......
#!/usr/bin/env python
import sys
runtime_file = sys.argv[1]
with open(req_file, 'r') as f:
r = f.read().strip()
with open(runtime_file, 'w') as f:
f.write(r)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment