X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cb4efac6793d18892dde09c631895cb98c3df470..b69d0344335cafe4f4b6d4af229616b5251d21ea:/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 ==")