From 245e4c4aeb4705817cab68b808d2a6162793cc05 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 26 Apr 2016 14:16:19 +0200 Subject: clean up checkVersions --- checkVersions | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/checkVersions b/checkVersions index 9d6d44728..684a52106 100755 --- a/checkVersions +++ b/checkVersions @@ -90,10 +90,12 @@ then for src in "${source[@]}" do + src="${src#*::}" + if [ "${pkgname}" == "pgplot-for-ifeffit" ] then remVer="$( - curl -o - "ftp://ftp.astro.caltech.edu/pub/pgplot/" | \ + curl -o - "ftp://ftp.astro.caltech.edu/pub/pgplot/" 2> /dev/null | \ grep "\spgplot[0-9.]\+\.tar\.gz -> \S\+\$" | \ sed "s|^.*\spgplot\([0-9.]\+\)\.tar\.gz -> \S\+\$|\1|" | \ sort -V | \ -- cgit v1.2.3-70-g09d2