aboutsummaryrefslogtreecommitdiff
path: root/get-latest-versions.sh
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-08-19 19:54:58 -0400
committerB. Stack <bgstack15@gmail.com>2023-08-19 20:09:43 -0400
commit741f48c71b98645d5d3b63f9d3502c8144e5331c (patch)
tree4a8b8b5dc570ed4d2ed9897547eee1a2d2e536ce /get-latest-versions.sh
parentenable support of -1 tags in gtk3classic upstream repo (diff)
downloadgtk3-classic-build-741f48c71b98645d5d3b63f9d3502c8144e5331c.tar.gz
gtk3-classic-build-741f48c71b98645d5d3b63f9d3502c8144e5331c.tar.bz2
gtk3-classic-build-741f48c71b98645d5d3b63f9d3502c8144e5331c.zip
handle dpkg-gensymbols problem
Diffstat (limited to 'get-latest-versions.sh')
-rwxr-xr-xget-latest-versions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/get-latest-versions.sh b/get-latest-versions.sh
index 62c14d8..64d7076 100755
--- a/get-latest-versions.sh
+++ b/get-latest-versions.sh
@@ -3,7 +3,7 @@ oldx="$( printf %s\\n "$-" | grep -q -e 'x' && echo YES )"
set +x # hide this cruft
test -z "${WORKDIR}" && WORKDIR="$( readlink -f . )"
export WORKDIR
-RAW_DEB="$( rmadison gtk+3.0 | awk -F='|' '{gsub(" ","");print $2,$2,$3}' | awk '{gsub("-[0-9]+","",$1);print}' | sort -r --sort=version | grep -v debug | head -n1)"
+RAW_DEB="$( rmadison gtk+3.0 | awk -F'|' '{gsub(" ","");print $2,$2,$3}' | awk '{gsub("-[0-9]+","",$1);print}' | sort -r --sort=version | grep -v debug | head -n1)"
RAW="$( echo "${RAW_DEB}" | awk '{print $1}' )"
DEB="$( echo "${RAW_DEB}" | awk '{print $2}' )"
if ! test "$( cd "${WORKDIR}/gtk3classic" 2>/dev/null && git remote -v | grep -o 'origin https://github.com/lah7/gtk3-classic' | head -n1 )" = "origin https://github.com/lah7/gtk3-classic" ; then
bgstack15