On Wed, Mar 24, 2021 at 05:27:27PM +0800, Luan Shengde wrote:
download_upstream_repo() {
- git clone "git://$GIT_SERVER/openeuler/${upstream_repo}" || die "clone git repo ${package_name} failed: git://$GIT_SERVER/openeuler/${upstream_repo}"
- cd $package_name || exit
- git clone "git://${GIT_SERVER}/openeuler/${upstream_repo}" || die "clone git repo ${package_name} failed: git://${GIT_SERVER}/openeuler/${upstream_repo}"
too long line, maybe you can use '\' to wrap line.
can define a variable for the repo url
ok
Thanks, Yong