Skip to content

Commit

Permalink
[openwrt] fix build script typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lirundong committed Dec 21, 2023
1 parent 50e33ce commit 5793b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openwrt-builder/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ CUSTOM_FILES_DIR=$(realpath -- ./files)
# Sing-Box.
SING_BOX_VERSION=${SING_BOX_VERSION:-$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/SagerNet/sing-box/releases/latest | grep -Po 'v\K\d+\.\d+\.\d+')}
curl -sSL https://github.com/SagerNet/sing-box/releases/download/v${SING_BOX_VERSION}/sing-box-${SING_BOX_VERSION}-linux-amd64v3.tar.gz -o sing-box.tar.gz
tar -xf sing-box-tar.gz
tar -xf sing-box.tar.gz
chmod +x sing-box-${SING_BOX_VERSION}-linux-amd64v3/sing-box
mv sing-box-${SING_BOX_VERSION}-linux-amd64v3/sing-box $CUSTOM_FILES_DIR/usr/bin/

Expand Down

0 comments on commit 5793b59

Please sign in to comment.