Files
PolyORB/utils/make_snapshot
Jérôme Hugues c61a27af77 Reverted #6715, added flag to 'scp' files, disabled by default.
[Imported from Perforce change 6717 at 2006-12-01 20:00:52]

Subversion-branch: /trunk/polyorb
Subversion-revision: 34667
2003-05-07 11:21:45 +00:00

27 lines
487 B
Bash
Executable File

#! /bin/sh
# $Id$
#
# Build a snapshot of PolyORB from Perforce repository files.
#
# make_snapshot [-scp]
# -scp : update snapshots directory on PolyORB's Web site.
#
scp=false
case $1 in
-scp) scp=true; shift;;
*) ;;
esac
change=`p4 changes -m 1 ... | cut -f 2 -d \ `
name=polyorb-snap-$change
TMPDIR=$HOME utils/make_distrib -p4 $change $name
if $scp; then
tar=$name.tar.gz
scp $tar libre.act-europe.fr:/paris.a/httpd/html-libre/polyorb/snapshots/ \
&& rm -f $tar
fi