2004-11-08 18:55:25 -05:00
|
|
|
#!/bin/bash
|
|
|
|
#----------------------------------------------------------------------
|
|
|
|
|
|
|
|
set -o errexit
|
|
|
|
|
|
|
|
# read the config variables from the file given on the command line
|
|
|
|
. $1
|
|
|
|
|
|
|
|
if [ $skipsource != yes -o $onlysource = yes ]; then
|
|
|
|
|
|
|
|
# make the source tarball and srpm
|
2005-05-09 19:22:38 -04:00
|
|
|
distrib/makerpm 2.4 srpm
|
2004-11-08 18:55:25 -05:00
|
|
|
|
|
|
|
# Copy everything to the staging dir
|
|
|
|
echo "Moving stuff to $STAGING_DIR..."
|
|
|
|
mv dist/* $STAGING_DIR
|
|
|
|
|
|
|
|
fi
|