update
This commit is contained in:
parent
0026da2286
commit
d2bd592dfe
9 changed files with 20 additions and 13 deletions
|
@ -14,14 +14,14 @@ install_package_dependency(){
|
|||
get_git_source(){
|
||||
GIT_PATH=/tmp/${APP}
|
||||
[ ! "$1" == "" ] && GIT_PATH=$1
|
||||
[ -e ${GIT_PATH} ] && rm -fr ${GIT_PATH}
|
||||
[ -e ${GIT_PATH} ] && rm -fr ${GIT_PATH}
|
||||
if [ "${GIT_VERSION}" = "last" ] ;
|
||||
then
|
||||
git clone --depth 1 ${DEPOT} ${GIT_PATH}
|
||||
else
|
||||
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} ${GIT_PATH}
|
||||
fi
|
||||
[ "$1" != "noremovegit" ] && find ${GIT_PATH} -name .git -exec rm -fr {} \;
|
||||
# [ "$1" != "noremovegit" ] && find ${GIT_PATH} -name .git -exec rm -fr {} \;
|
||||
}
|
||||
|
||||
configure_depot_lgy(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue