aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-scripts/create-user-kernel-script2
-rwxr-xr-xbuild-scripts/repo_project_info.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/build-scripts/create-user-kernel-script b/build-scripts/create-user-kernel-script
index 4bbc1f3..4b1870c 100755
--- a/build-scripts/create-user-kernel-script
+++ b/build-scripts/create-user-kernel-script
@@ -48,7 +48,7 @@ EOF
sync_commands()
{
-GITINFO=`PYTHONPATH=../.repo/repo ${BUILD_SCRIPT_ROOT}/repo_project_info.py -d ../`
+GITINFO=`PYTHONPATH=../.repo/repo ${BUILD_SCRIPT_ROOT}/repo_project_info.py -d ../ -p kernel`
GITURL=`echo $GITINFO | cut -d\| -f1`
GITREV=`echo $GITINFO | cut -d\| -f2`
cat <<EOF
diff --git a/build-scripts/repo_project_info.py b/build-scripts/repo_project_info.py
index 4cba27a..185db55 100755
--- a/build-scripts/repo_project_info.py
+++ b/build-scripts/repo_project_info.py
@@ -15,7 +15,7 @@ def main():
p = argparse.ArgumentParser(description='looks at repo manifest to find the git repo and commit/branch the given project is based on')
p.add_argument('-d', dest='android_dir', required=True,
help='The Android source directory for the build')
- p.add_argument('-p', dest='proj_path', default="kernel",
+ p.add_argument('-p', dest='proj_path', required=True,
help='The project path to search for')
args = p.parse_args()