From 663875fcb8fc9ebab4705337c694bc0bbc0d3f1c Mon Sep 17 00:00:00 2001 From: Steve McLellan Date: Mon, 16 Mar 2015 16:06:22 -0500 Subject: [PATCH] Correct typo in function get_name Corrects typo in get_name (from get_nam). Change-Id: Ie72b275f1d09549b304c9ff33eec5fe7a5b176d4 Closes-Bug: 1432838 --- scripts/set-source-vars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/set-source-vars b/scripts/set-source-vars index 94099ba9..d6fb2ab8 100755 --- a/scripts/set-source-vars +++ b/scripts/set-source-vars @@ -135,7 +135,7 @@ function get_ref { git rev-parse HEAD } -function get_nam { +function get_name { local remote_name=${1:-""} name=$(get_location ${remote_name}) echo $(basename ${name##*:} .git)