Permalink
Browse files

Hiding stderr for untar

  • Loading branch information...
1 parent 13e7d7c commit c5a2c23ab23fc370ab1c4f66d13a5397327f5cf6 @codeinthehole committed Jun 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 fabfile.py
View
@@ -31,7 +31,7 @@ def unpack(archive_path):
now = datetime.datetime.now()
env.build_dir = '%s-%s' % (env.build, now.strftime('%Y-%m-%d-%H-%M'))
with cd(env.builds_dir):
- sudo('tar xzf %s' % archive_path)
+ sudo('tar xzf %s 2> /dev/null' % archive_path)
# Create new build folder
sudo('if [ -d "%(build_dir)s" ]; then rm -rf "%(build_dir)s"; fi' % env)

0 comments on commit c5a2c23

Please sign in to comment.