Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 854 → Rev 853

/build.sh
8,11 → 8,12
# a CORE package has been modified or the build script changed. This is usually
# done by the cron.sh script, itself called by a cron job.
#
# usage: ./build.sh outputdir buildver [noclean] > logfile
# usage: ./build.sh outputdir [noclean] > logfile
#
 
### parameters block starts here ############################################
 
CURDATE=`date +%Y%m%d`
REPOROOT=`realpath ./packages`
CUSTFILES=`realpath ./files`
 
20,13 → 21,12
 
### parameters block ends here ##############################################
 
# look for mandatory output dir and build id
if [ "x$2" == "x" ] ; then
echo "usage: build.sh outputdir buildver [noclean]"
# look for mandatory output dir
if [ "x$1" == "x" ] ; then
echo "usage: build.sh outputdir [noclean] > logfile"
exit 1
fi
CURDATE="$2"
PUBDIR=`realpath "$1"`
PUBDIR=`realpath "$1"`/$CURDATE
 
CDROOT="$PUBDIR/tmp_cdroot.build"
FLOPROOT="$PUBDIR/tmp_floproot.build"
128,6 → 128,10
echo "current time is `date` and it's a beautiful day somewhere in the world"
echo
 
# remove dest dir if it exists already, then recreate it empty
rm -rf "$PUBDIR"
mkdir "$PUBDIR"
 
mkdir "$CDROOT"
mkdir "$FLOPROOT"