running check-instincludes requires a CVS tree; require absolute path for kit file
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user