add arguments to support customized working dir
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Create working directory
|
||||
#
|
||||
_working_dir_name=$1
|
||||
_working_dir_name=${_working_dir_name::-1}
|
||||
_working_full_path="${_parentdir}/${_working_dir_name}"
|
||||
cd ${_working_full_path}
|
||||
echo "GOTO: ${_working_full_path}"
|
||||
|
||||
SCRIPT_DIR=${HOME}/chrome/daily_routine_repo
|
||||
WORKING_DIR=${HOME}/chrome/dailyBuildToT
|
||||
# WORKING_DIR=/home/casperchang/chrome/ToT
|
||||
|
||||
cd ${WORKING_DIR}
|
||||
echo 'cros_sdk --no-ns-pid'
|
||||
cros_sdk --no-ns-pid
|
||||
Reference in New Issue
Block a user