Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy Wiggins authored and Roy Wiggins committed Dec 5, 2024
1 parent ee84d28 commit ff011a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions getdcmtags/check_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
source_version=$(grep -oP '#define VERSION "getdcmtags Version \K.*(?=")' ../getdcmtags/main.cpp)
echo "Source version: $source_version"

binary_version_2004=$(strings ../bin/ubuntu20.04/getdcmtags | grep -oP "getdcmtags Version \K.*" )
binary_version_2004=$(strings ../app/bin/ubuntu20.04/getdcmtags | grep -oP "getdcmtags Version \K.*" )
echo "Binary version for Ubuntu 20.04: $binary_version_2004"

binary_version_2204=$(strings ../bin/ubuntu22.04/getdcmtags | grep -oP "getdcmtags Version \K.*" )
binary_version_2204=$(strings ../app/bin/ubuntu22.04/getdcmtags | grep -oP "getdcmtags Version \K.*" )
echo "Binary version for Ubuntu 22.04: $binary_version_2204"

binary_version_2404=$(strings ../bin/ubuntu24.04/getdcmtags | grep -oP "getdcmtags Version \K.*" )
binary_version_2404=$(strings ../app/bin/ubuntu24.04/getdcmtags | grep -oP "getdcmtags Version \K.*" )
echo "Binary version for Ubuntu 24.04: $binary_version_2404"

echo ""
Expand Down

0 comments on commit ff011a6

Please sign in to comment.