projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
17967: Read from volumes with high-priority storage classes first.
[arvados.git]
/
services
/
api
/
bin
/
setup
diff --git
a/services/api/bin/setup
b/services/api/bin/setup
index e620b4dadb27feebc2043e55bc0d23c104ccac37..c9142b942ed12a848a4497a01ad7393dfd78d370 100755
(executable)
--- a/
services/api/bin/setup
+++ b/
services/api/bin/setup
@@
-1,10
+1,14
@@
#!/usr/bin/env ruby
#!/usr/bin/env ruby
-require 'pathname'
+
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
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 ==")