From 4e2f13a413471cbae2b7a03be7a3a86aaa44b774 Mon Sep 17 00:00:00 2001 From: surfzoid Date: Sun, 30 Jul 2023 13:08:23 +0200 Subject: [PATCH] cut -d ' ' -f 3 --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 82a84f0..835753f 100755 --- a/debian/rules +++ b/debian/rules @@ -25,7 +25,7 @@ override_dh_auto_configure: dh_auto_configure -- PREFIX=usr/share # version=$(grep "Version:" QtVsPlayermga8wally.spec| cut -d ' ' -f 3) grep '%global Rel' QtVsPlayermga8wally.spec - export Rel=$(grep '%global Rel' QtVsPlayermga8wally.spec | cut -d ' ' -f 4) + export Rel=$(grep '%global Rel' QtVsPlayermga8wally.spec | cut -d ' ' -f 3) echo $Rel # sed -i 's/\(VERSION = \).*/\1 $version/' QtVsPlayer.pro sed -i 's/\(RELEASE = \).*/\1 $Rel/' QtVsPlayer.pro