From 13a7ad921a6c8027018b7b4cb2eaddc56d37bb2f Mon Sep 17 00:00:00 2001 From: Oliver Sayers <171312+SavageCore@users.noreply.github.com> Date: Sat, 22 Jun 2024 16:32:21 +0100 Subject: [PATCH] deluge: Use Jamfile to get VERSION (#1171) --- sources/functions/deluge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/functions/deluge b/sources/functions/deluge index 5170a1f74..e325729f2 100644 --- a/sources/functions/deluge +++ b/sources/functions/deluge @@ -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 || {