Skip to content

Commit

Permalink
deluge: Use Jamfile to get VERSION (swizzin#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
SavageCore authored Jun 22, 2024
1 parent 662dc76 commit 13a7ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/functions/deluge
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function build_libtorrent_deluge() {
libtorrent_clone

cd /tmp/libtorrent
VERSION=$(grep AC_INIT configure.ac | grep -oP '\d+\.\d+\.\d+')
VERSION=$(grep -oP "VERSION\ = \K\d\.\d\.\d+" Jamfile)

if [[ -f /root/libtorrent-${libtorrent_branch}.patch ]]; then
patch -p1 < /root/libtorrent-${libtorrent_branch}.patch >> ${log} 2>&1 || {
Expand Down

0 comments on commit 13a7ad9

Please sign in to comment.