projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '20853-pdoc'
[arvados.git]
/
services
/
api
/
bin
/
update
diff --git
a/services/api/bin/update
b/services/api/bin/update
index 07a3df93e48b0b2eaacc35e59683caefe9ff2efb..201287ef61e8859930cb93cc03cb81f20c12b4ff 100755
(executable)
--- a/
services/api/bin/update
+++ b/
services/api/bin/update
@@
-4,12
+4,11
@@
#
# SPDX-License-Identifier: AGPL-3.0
#
# SPDX-License-Identifier: AGPL-3.0
-require 'pathname'
require 'fileutils'
include FileUtils
# path to your application root.
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 ==")
def system!(*args)
system(*args) || abort("\n== Command #{args} failed ==")