Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fc07f14 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

cromite: set gsync=0 if src doesn't exist

- No need to remove gclient*
parent a1998e5e
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,6 @@ sync() {
init_repo(){
    echo ">> [$(date)] Init chromium $chromium_version"
    cd $chromium_dir
    rm -rf .gclient*
    fetch android
}

@@ -149,6 +148,7 @@ if [ $clean -eq 1 ]; then
fi

if [ ! -d "$chromium_dir/src" ]; then
    gsync=0
    init_repo
    sync
fi