1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

bisect.sh: make srcs in builddir [ci skip]

* tool/bisect.sh: also srcs needs Makefile, must in the build but
  not the source directory.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-03-01 02:33:15 +00:00
parent 7d34ed6ecb
commit 3f465cc6b4

View file

@ -21,15 +21,15 @@ case $1 in
exec git bisect run "$path" "run-$1"
;;
run-miniruby )
$MAKE srcs || exit 125
cd "${0%/*}" || exit 125 # assume a copy of this script is in builddir
$MAKE srcs || exit 125
$MAKE Makefile || exit 125
$MAKE mini || exit 125
$MAKE run || exit 1
;;
run-ruby )
$MAKE srcs || exit 125
cd "${0%/*}" || exit 125 # assume a copy of this script is in builddir
$MAKE srcs || exit 125
$MAKE Makefile || exit 125
$MAKE program || exit 125
$MAKE runruby || exit 1