head	1.2;
access;
symbols
	TIGRIS_1_0_8_1:1.2
	TIGRIS_1_0_8_0:1.2;
locks; strict;
comment	@# @;


1.2
date	2000.07.27.19.00.01;	author dlr;	state Exp;
branches;
next	1.1;

1.1
date	2000.07.27.05.23.27;	author lucas;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Added check for required arguments.
@
text
@#! /bin/sh

if test $# -lt 2; then
    echo "usage: $0 <directory> <command>"
    exit 1
fi

cd $1
CMD=$2
shift
shift

if test -f ${CMD}.sh; then
  CMD="sh ${CMD}.sh"
fi

echo $CMD $@@ | sh
@


1.1
log
@Initial import of Ant-based build system.

The basic idea is that someone can checkout the releng module and be
able to build all of the necessary RPM's for Tigris/sXc/etc...
@
text
@d3 5
a7 1
# Args: DIR command
d13 2
a14 2
if test -f $CMD.sh; then
  CMD="sh $CMD.sh"
@

