Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2015
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. #!/usr/bin/env python
  2. import sys
  3. import os
  4. import subprocess
  5. import shutil
  6.  
  7. shutil.rmtree("object", True)
  8.  
  9. os.mkdir("object")
  10.  
  11. for line in file("locale_list"):
  12.     if os.system('./qc ' + line):
  13.         print 'Error occured on compile ' + line
  14.         import sys
  15.         sys.exit(-1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement