diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-08-01 21:32:17 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-08-18 10:25:14 +0900 |
| commit | ddbfe353c2100400f60d6bd012cc175ca4b518ab (patch) | |
| tree | 710d3f6312e97ab7c3148fc5ce9afe03aab8175d | |
| parent | 449cc2501ec453c5d1511e7e5353d55793cad5ab (diff) | |
Use autogen.sh if exists
| -rwxr-xr-x | tool/make-snapshot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 7a9797d13d..7d4fce4f15 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -430,7 +430,7 @@ def package(vcs, rev, destdir, tmp = nil) puts "cross.rb:", File.read("cross.rb").gsub(/^/, "> "), "" if $VERBOSE unless File.exist?("configure") print "creating configure..." - unless system([ENV["AUTOCONF"]]*2) + unless system(File.exist?(gen = "./autogen.sh") ? gen : [ENV["AUTOCONF"]]*2) puts $colorize.fail(" failed") return end |
