Commit 58c48b3b authored by Andreas Gustafsson's avatar Andreas Gustafsson

running check-instincludes requires a CVS tree; require absolute path for kit file

parent 155552f1
......@@ -15,7 +15,7 @@
# 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.
......@@ -27,11 +27,16 @@
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
......@@ -51,7 +56,7 @@ mkdir $instdir
case $arg in
*.tar.gz)
kit="$here/$arg"
kit="$arg"
;;
*)
tag="$arg"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment