Skip to content

Commit 6c62632

Browse files
committed
fix: remove unnecessary arg
1 parent cbc3b3b commit 6c62632

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

version.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ OPENSSLSRC=openssl-${OPENSSLVER}.tar.gz
55
DEBMIRROR=http://deb.debian.org/debian/
66
OPENSSH_SIDPKG=
77
[[ -z $OPENSSH_SIDPKG ]] && \
8-
OPENSSH_SIDPKG=$(wget --no-check-certificate -qO- http://deb.debian.org/debian/pool/main/o/openssh/ | grep -oP 'openssh_\K[0-9]+\.[0-9]+p[0-9]+-[0-9]+(?:~bpo[0-9]+(?:\+[0-9]+)?)?' | sort -V | tail -n 1)
8+
OPENSSH_SIDPKG=$(wget -qO- http://deb.debian.org/debian/pool/main/o/openssh/ | grep -oP 'openssh_\K[0-9]+\.[0-9]+p[0-9]+-[0-9]+(?:~bpo[0-9]+(?:\+[0-9]+)?)?' | sort -V | tail -n 1)
99
# OPENSSH_SIDPKG=$(wget --no-check-certificate -qO- https://packages.debian.org/sid/openssh-server | sed -n '/vcurrent/s/ *<[^>]*> *//gp' | head -n1 | cut -d: -f2)
1010

1111
OPENSSHVER=$(echo $OPENSSH_SIDPKG|cut -d- -f1)

0 commit comments

Comments
 (0)