X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/248c7167e95d970b770c43102ee68cf1319973f7..a999ea55a6fdfabeca12c8d8db24214698ae2908:/services/api/bin/update?ds=sidebyside 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 ==")