Skip to content

Commit

Permalink
cut -d ' ' -f 3
Browse files Browse the repository at this point in the history
  • Loading branch information
surfzoid committed Jul 30, 2023
1 parent 660913f commit 4e2f13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e2f13a

Please sign in to comment.