17296: Merge branch 'master'
[arvados.git] / services / api / bin / setup
index e620b4dadb27feebc2043e55bc0d23c104ccac37..c9142b942ed12a848a4497a01ad7393dfd78d370 100755 (executable)
@@ -1,10 +1,14 @@
 #!/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.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+APP_ROOT = File.expand_path('..', __dir__)
 
 def system!(*args)
   system(*args) || abort("\n== Command #{args} failed ==")