mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/boypt/openssh-deb.git
synced 2026-09-20 08:03:46 +08:00
refactor: use brace expansion in DOWNLOADLINKS
This commit is contained in:
12
pullsrc.sh
12
pullsrc.sh
@@ -18,13 +18,11 @@ arg1="${1:-}"
|
||||
|
||||
source $__dir/version.env
|
||||
|
||||
DOWNLOADLINKS=( \
|
||||
$DEBMIRROR/pool/main/o/openssh/openssh_${OPENSSH_SIDPKG}.debian.tar.xz \
|
||||
$DEBMIRROR/pool/main/o/openssh/openssh_${OPENSSH_SIDPKG}.dsc \
|
||||
$DEBMIRROR/pool/main/o/openssh/openssh_${OPENSSHVER}.orig.tar.gz \
|
||||
$DEBMIRROR/pool/main/o/openssh/openssh_${OPENSSHVER}.orig.tar.gz.asc \
|
||||
${OPENSSLMIR}/${OPENSSLSRC}
|
||||
)
|
||||
DOWNLOADLINKS=(
|
||||
$DEBMIRROR/pool/main/o/openssh/openssh_${OPENSSH_SIDPKG}.{debian.tar.xz,dsc}
|
||||
$DEBMIRROR/pool/main/o/openssh/openssh_${OPENSSHVER}.orig.tar.gz{,.asc}
|
||||
${OPENSSLMIR}/${OPENSSLSRC}
|
||||
)
|
||||
|
||||
mkdir -p $__dir/downloads && cd $__dir/downloads
|
||||
echo "> INFO: downloading the following sources."
|
||||
|
||||
Reference in New Issue
Block a user