Update of /cvsroot/fink/scripts/bindist
In directory sc8-pr-cvs1:/tmp/cvs-serv10231

Added Files:
      Tag: remis-bindist
        bdsource 
Log Message:
Copies the used package files into the bin dist structures

--- NEW FILE: bdsource ---
#!/bin/sh
set -e

if [ "x$BDDEBUG"!="x" ]; then
  set -x
fi

# Check that the environment variables are okay
if [ -z "$BDBASE" ]; then
  echo "Binary distribution environment not set up. Please see bdenv.csh"
  exit 1
fi

# Get the release number
if [ ! -r "$BDDATA/current" ]; then
  echo "Couldn't find $BDDATA/current. Have you run bdnewrel?"
  exit 1
fi
release=`cat $BDDATA/current`

# Update package information for given tree and release
if [ ! -r "$FINK_PREFIX/fink/$BDTREE" ]; then
  echo "Couldn't access $FINK_PREFIX/fink/$BDTREE. Check your setup"
  exit 1
fi
cd $FINK_PREFIX/fink/$BDTREE
cvs update -r $release
fink index

# Determine which packages have licenses forbidding the binary distribution
/usr/bin/find $FINK_PREFIX/fink/$BDTREE -name "*\.info" -print | tr "\n" " " | xargs 
$BDDATA/licensecheck > /dev/null

# Copy package information to bindist tree
for tree in main crypto ; do
  /usr/bin/rsync --recursive --times --cvs-exclude 
--exclude-from=$BDDATA/excludes-$release --delete $tree/finkinfo/ 
$BDBASE/dists/fink-$release/$tree/finkinfo/
  
done

exit 0




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to