mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix the order of executing after-update
task
This commit is contained in:
parent
5af2c8735a
commit
a61ae414b6
1 changed files with 7 additions and 3 deletions
|
@ -437,8 +437,8 @@ def package(vcs, rev, destdir, tmp = nil)
|
||||||
mk << commonmk.gsub(/\{\$([^(){}]*)[^{}]*\}/, "").sub(/^revision\.tmp::$/, '\& Makefile')
|
mk << commonmk.gsub(/\{\$([^(){}]*)[^{}]*\}/, "").sub(/^revision\.tmp::$/, '\& Makefile')
|
||||||
mk << <<-'APPEND'
|
mk << <<-'APPEND'
|
||||||
|
|
||||||
update-download:: touch-unicode-files after-update
|
update-download:: touch-unicode-files
|
||||||
prepare-package: prereq
|
prepare-package: prereq after-update
|
||||||
clean-cache: $(CLEAN_CACHE)
|
clean-cache: $(CLEAN_CACHE)
|
||||||
after-update:: extract-gems
|
after-update:: extract-gems
|
||||||
extract-gems: update-gems
|
extract-gems: update-gems
|
||||||
|
@ -473,7 +473,11 @@ touch-unicode-files:
|
||||||
end
|
end
|
||||||
modified = new_time
|
modified = new_time
|
||||||
end
|
end
|
||||||
unless system(make, "prepare-package", "clean-cache", *args)
|
unless system(make, "prepare-package", *args)
|
||||||
|
puts $colorize.fail("prepare-package failed")
|
||||||
|
return
|
||||||
|
end
|
||||||
|
unless system(make, "clean-cache", *args)
|
||||||
puts $colorize.fail("prepare-package failed")
|
puts $colorize.fail("prepare-package failed")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue