From c0c5136848904885c9a0117ee1560dd9823921cf Mon Sep 17 00:00:00 2001 From: bigeagle Date: Wed, 27 Jul 2016 23:30:55 +0800 Subject: [PATCH] fix typo --- aosp.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aosp.sh b/aosp.sh index 46e7efb..3f77d71 100755 --- a/aosp.sh +++ b/aosp.sh @@ -2,7 +2,7 @@ set -e REPO=${REPO:-"/usr/local/bin/repo"} -USE_BITMAP_INDEX=${USE_BITMAPT_INDEX:-"0"} +USE_BITMAP_INDEX=${USE_BITMAP_INDEX:-"0"} function repo_init() { mkdir -p $TUNASYNC_WORKING_DIR @@ -24,7 +24,7 @@ function git_repack() { echo $repo, ${size}M git repack -a -b -d fi - done < <$(find $TUNASYNC_WORKING_DIR -type d -not -path "*/.repo/*" -name "*.git") + done < <(find $TUNASYNC_WORKING_DIR -type d -not -path "*/.repo/*" -name "*.git") } if [[ ! -d "$TUNASYNC_WORKING_DIR/git-repo.git" ]]; then @@ -36,4 +36,4 @@ repo_sync if [[ "$USE_BITMAP_INDEX" == "1" ]]; then git_repack -do +fi