# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-# $Id: altbuild.sh,v 1.10 2001/08/01 21:52:41 gson Exp $
+# $Id: altbuild.sh,v 1.11 2001/08/09 02:36:01 gson Exp $
#
# "Alternative build" test.
case $# in
1) arg=$1 ;;
- *) echo "usage: $0 cvs-tag | gzipped-tar-file" >&2; exit 1 ;;
+ *) echo "usage: $0 cvs-tag | absolute-path-to-gzipped-tar-file" >&2; exit 1 ;;
esac
here=`pwd`
+test -f util/check-instincludes.sh || {
+ echo "$0: must be run from top of CVS tree";
+ exit 1;
+}
+
kitdir=/tmp/kit
srcdir=/tmp/src
builddir=/tmp/build
case $arg in
*.tar.gz)
- kit="$here/$arg"
+ kit="$arg"
;;
*)
tag="$arg"