Skip to content

Commit e8f9691

Browse files
committed
chore: exact path/def
1 parent d0daa9f commit e8f9691

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/lunch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ _lunch() {
99

1010
# Append release codename, if exists (A14+)
1111
local release_codename
12-
release_codename=
12+
release_codename=''
1313
if [[ -d "${ANDROID_BUILD_TOP}"/build/release/aconfig/ ]]; then
1414
release_codename=-$(find "${ANDROID_BUILD_TOP}"/build/release/aconfig/* -maxdepth 0 -type d -name '[a-z][a-z][0-9][a-z]' -printf '%f\n' | tail --lines=1)
1515
fi

scripts/sync.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ _clone() {
7171
branch=$(rev <<< "${full_repo_name}" | cut --delimiter='/' --fields=-1 | rev)
7272
target_path=$(rev <<< "${full_repo_name}" | cut --delimiter='/' --fields=3 | rev | sed 's/android_//g; s/proprietary_//g; s|_|/|g')
7373
rm --recursive --force "${target_path}" || true
74-
git clone "${repo_name}" --branch "${branch}" "${target_path}"
74+
git clone "${repo_name}" --branch "${branch}" "${ANDROID_BUILD_TOP}"/"${target_path}"
7575
}
7676

7777
# Wrapper to clone all repos defined in $CLONE_REPOS

0 commit comments

Comments
 (0)