summaryrefslogtreecommitdiff
path: root/freefilesync
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2022-06-07 19:27:29 -0400
committerB Stack <bgstack15@gmail.com>2022-06-07 19:27:29 -0400
commit8eed8c99bbe25376ee7575e14b7e6a7c6b80dd31 (patch)
treea18dd094b558c6715af9fb6ceb5c03b0ac2a664f /freefilesync
parentffs: fix g__version again (diff)
downloadstackrpms-8eed8c99bbe25376ee7575e14b7e6a7c6b80dd31.tar.gz
stackrpms-8eed8c99bbe25376ee7575e14b7e6a7c6b80dd31.tar.bz2
stackrpms-8eed8c99bbe25376ee7575e14b7e6a7c6b80dd31.zip
ffs: fix g__version awk field checked
Diffstat (limited to 'freefilesync')
-rw-r--r--freefilesync/freefilesync.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/freefilesync/freefilesync.spec b/freefilesync/freefilesync.spec
index 4daea5c..de8c72d 100644
--- a/freefilesync/freefilesync.spec
+++ b/freefilesync/freefilesync.spec
@@ -147,7 +147,7 @@ g__version="$(
EOFSCL
%endif
)"
-g__version="$( echo "${g__version}" | awk 'NR==1{if($2>=12){print "12"}else{print"11"}}' )"
+g__version="$( echo "${g__version}" | awk 'NR==1{if($3>=12){print "12"}else{print"11"}}' )"
echo "G__version=${g_version}"
if test ${g__version} -lt 12 ;
then
bgstack15