add arguments to support customized working dir

This commit is contained in:
Casper Chang
2021-01-04 13:12:17 +08:00
parent 68f308d8ce
commit 45a6f05dde
6 changed files with 65 additions and 32 deletions

View File

@@ -1,5 +1,11 @@
# expect script for chromium init repo.
This script is inteted to deploy for daily build chromium OS
Working directory is hard coding in `~/chrome/`.
So please make sure you clone this repo into `~/chrome` directory.
# usage
```
$ ./main_cros_reposync_build.sh [user_password] [working_directory]"
```
# todo
1. add branch support
2. judge the working path, only remove last string if space