From 3106036284c35dc55c73fbca0342271d9a979716 Mon Sep 17 00:00:00 2001 From: hackbard Date: Sat, 24 Jul 2004 03:14:09 +0000 Subject: [PATCH 1/1] implemented -create_cvs_list function --- doc/CHANGELOG | 1 + scripts/Helper | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/doc/CHANGELOG b/doc/CHANGELOG index 1431915..c2b1fa1 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -1,5 +1,6 @@ *) 2004-07-24 +- implemented create-cvs-list function to Helper script - updated BUILD file - fixed scummvm and lprng package - added thunderbird freetype patches (still not working) - removed from targets diff --git a/scripts/Helper b/scripts/Helper index ec9705c..d2c8ea1 100755 --- a/scripts/Helper +++ b/scripts/Helper @@ -11,3 +11,32 @@ # soon there will be some usefull options available: # - create new priorities according to dependencies + +ccl=0 + +while [ "$1" ] ; do + case "$1" in + -create_cvs_list) ccl=1; shift 1 ;; + *) + echo + echo "usage:" + echo + echo "$0 -create_cvs_list" + echo + exit 1 ;; + esac +done + + +if [ "$ccl" = "1" ] ; then + echo -en "puzzling PKGS files ..." + ./scripts/Puzzle > /dev/null 2>&1 + echo -en " done.\n" + for i in download/*/PKGS; do + grep 'cvs:' $i | \ + while read pkg package foo; do + cat=`echo $i | awk -F/ '{ print $2 }'` + echo "download/$cat/$pkg/$package" + done + done +fi -- 2.39.2