OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-tools Date: 23-Feb-2005 21:03:25 Branch: HEAD Handle: 2005022320032400 Modified files: openpkg-tools/cmd dev.sh Log: automatic release lookup for "openpkg dev search" Summary: Revision Changes Path 1.36 +8 -20 openpkg-tools/cmd/dev.sh ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-tools/cmd/dev.sh ============================================================================ $ cvs diff -u -r1.35 -r1.36 dev.sh --- openpkg-tools/cmd/dev.sh 18 Feb 2005 13:10:40 -0000 1.35 +++ openpkg-tools/cmd/dev.sh 23 Feb 2005 20:03:24 -0000 1.36 @@ -2113,26 +2113,14 @@ for i in $all; do search_for $i ftp://ftp.openpkg.org/current/SRC/ search_for $i ftp://ftp.openpkg.org/stable/SRC/ - search_for $i ftp://ftp.openpkg.org/release/2.2/UPD/ - search_for $i ftp://ftp.openpkg.org/release/2.2/SRC/ - search_for $i ftp://ftp.openpkg.org/release/2.2/SRC/PLUS/ - search_for $i ftp://ftp.openpkg.org/release/2.1/UPD/ - search_for $i ftp://ftp.openpkg.org/release/2.1/SRC/ - search_for $i ftp://ftp.openpkg.org/release/2.1/SRC/PLUS/ - search_for $i ftp://ftp.openpkg.org/release/2.0/UPD/ - search_for $i ftp://ftp.openpkg.org/release/2.0/SRC/ - search_for $i ftp://ftp.openpkg.org/release/2.0/SRC/PLUS/ - search_for $i ftp://ftp.openpkg.org/release/1.3/UPD/ - search_for $i ftp://ftp.openpkg.org/release/1.3/SRC/ - search_for $i ftp://ftp.openpkg.org/release/1.3/SRC/PLUS/ - search_for $i ftp://ftp.openpkg.org/release/1.2/UPD/ - search_for $i ftp://ftp.openpkg.org/release/1.2/SRC/ - search_for $i ftp://ftp.openpkg.org/release/1.2/SRC/PLUS/ - search_for $i ftp://ftp.openpkg.org/release/1.1/UPD/ - search_for $i ftp://ftp.openpkg.org/release/1.1/SRC/ - search_for $i ftp://ftp.openpkg.org/release/1.1/SRC/PLUS/ - search_for $i ftp://ftp.openpkg.org/release/1.0/UPD/ - search_for $i ftp://ftp.openpkg.org/release/1.0/SRC/ + REL=`$E/lib/openpkg/curl -l -s ftp://ftp.openpkg.org/release/ |\ + sed -e 's; ;;' |\ + egrep '^[1-9][0-9]*\.[0-9]+$' | sort -rn` + for r in $REL; do + search_for $i ftp://ftp.openpkg.org/release/$r/UPD/ + search_for $i ftp://ftp.openpkg.org/release/$r/SRC/ + search_for $i ftp://ftp.openpkg.org/release/$r/SRC/PLUS/ + done done } @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org