diff options
Diffstat (limited to 'get-latest-versions.sh')
-rwxr-xr-x | get-latest-versions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/get-latest-versions.sh b/get-latest-versions.sh index ad1ba19..62c14d8 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 --field-separator='|' '{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 |