fix runtime issues for scripts

now, some script to update kernel-headers is not working.
because of wrong variable value and test codes.
so this issue is fixed.

Change-Id: Iffae9607858cc3c1c58fa24244be217b5a1ab06e
This commit is contained in:
Kyunam Jo
2014-12-10 15:06:46 +09:00
parent 6a6845244c
commit fa343e630d
2 changed files with 3 additions and 6 deletions

View File

@@ -40,12 +40,7 @@ else:
if not os.path.isdir(original_dir):
panic( "Missing directory, please specify one through command-line: %s\n" % original_dir )
# Fixme: This should be removed after next release.
# Do not update ion.h ion_test.h until after next release in aosp.
source = subprocess.check_output('git remote show', shell=True).strip()
skip_ion = False
if source == "aosp":
skip_ion = True
# find all source files in 'original'
#