Advertisement
wiktorek140

common.py error fix, i thing is correct but not sure

Nov 11th, 2013
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.54 KB | None | 0 0
  1. --- a/common.py 2013-11-11 14:39:40.594842600 +0100
  2. +++ b/common.py 2013-11-11 14:50:23.902823592 +0100
  3. @@ -302,10 +302,7 @@
  4.    custom_bootimg_mk = os.getenv('MKBOOTIMG')
  5.    if custom_bootimg_mk:
  6.      bootimage_path = os.path.join(os.getenv('OUT'), "boot.img")
  7. -    if os.path.exists(prebuilt_path):
  8. -      print "Patch Exist"
  9. -    else:
  10. -      os.mkdir(prebuilt_dir)
  11. +    os.mkdir(prebuilt_dir)
  12.      shutil.copyfile(bootimage_path, prebuilt_path)
  13.    if os.path.exists(prebuilt_path):
  14.      print "using prebuilt %s..." % (prebuilt_name,)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement