X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0df5f0feeced5bff0adfb806dae2d3811257827f..f79d1cdf7696a3bbcc374df5ce4d1761a28a5ea5:/services/api/bin/update diff --git a/services/api/bin/update b/services/api/bin/update index 07a3df93e4..201287ef61 100755 --- a/services/api/bin/update +++ b/services/api/bin/update @@ -4,12 +4,11 @@ # # SPDX-License-Identifier: AGPL-3.0 -require 'pathname' require 'fileutils' include FileUtils # path to your application root. -APP_ROOT = Pathname.new File.expand_path('../../', __FILE__) +APP_ROOT = File.expand_path('..', __dir__) def system!(*args) system(*args) || abort("\n== Command #{args} failed ==")