mirror of
https://github.com/AdaCore/PolyORB.git
synced 2026-02-12 13:01:15 -08:00
[Imported from Perforce change 6717 at 2006-12-01 20:00:52] Subversion-branch: /trunk/polyorb Subversion-revision: 34667
27 lines
487 B
Bash
Executable File
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
|