diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-10-31 12:56:11 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-10-31 12:56:11 +0000 |
commit | 46f84d361f813748231034265c54389b9f9b84c3 (patch) | |
tree | c98717a81b1d97536d50c3cc382e4df3269f4b1b /scripts/sparse-gunzip | |
parent | 23f1849b3aa658e9aecf68d10c5e9426e6f70c48 (diff) | |
parent | 7855e6d2be639c60fa9f609942f9af89c576826a (diff) | |
download | morph-46f84d361f813748231034265c54389b9f9b84c3.tar.gz |
Merge remote-tracking branch 'remotes/origin/baserock/richardmaw/allow-smaller-tmpdir'
Signed-off-by: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
Diffstat (limited to 'scripts/sparse-gunzip')
-rwxr-xr-x | scripts/sparse-gunzip | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/sparse-gunzip b/scripts/sparse-gunzip new file mode 100755 index 00000000..b6e1aa16 --- /dev/null +++ b/scripts/sparse-gunzip @@ -0,0 +1,6 @@ +#!/usr/bin/python +from morphlib.util import copyfileobj +import gzip, sys +infh = gzip.GzipFile(fileobj=sys.stdin) +copyfileobj(infh, sys.stdout) +infh.close() |