Return-Path: X-Original-To: apmail-deltacloud-commits-archive@www.apache.org Delivered-To: apmail-deltacloud-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11D71E520 for ; Mon, 14 Jan 2013 10:59:01 +0000 (UTC) Received: (qmail 92172 invoked by uid 500); 14 Jan 2013 10:59:00 -0000 Delivered-To: apmail-deltacloud-commits-archive@deltacloud.apache.org Received: (qmail 92118 invoked by uid 500); 14 Jan 2013 10:59:00 -0000 Mailing-List: contact commits-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list commits@deltacloud.apache.org Received: (qmail 92080 invoked by uid 99); 14 Jan 2013 10:59:00 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 10:59:00 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 59D3519FAA; Mon, 14 Jan 2013 10:59:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mfojtik@apache.org To: commits@deltacloud.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [2/5] git commit: Core: Change directory to $top_srcdir when using Webrick Message-Id: <20130114105900.59D3519FAA@tyr.zones.apache.org> Date: Mon, 14 Jan 2013 10:59:00 +0000 (UTC) Core: Change directory to $top_srcdir when using Webrick Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/5a6a37e4 Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/5a6a37e4 Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/5a6a37e4 Branch: refs/heads/master Commit: 5a6a37e4b71d9b866620888eb1d18978478b464c Parents: fcb23e0 Author: Michal Fojtik Authored: Thu Dec 13 11:52:51 2012 +0100 Committer: Michal fojtik Committed: Mon Jan 14 11:58:01 2013 +0100 ---------------------------------------------------------------------- server/bin/deltacloudd | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/deltacloud/blob/5a6a37e4/server/bin/deltacloudd ---------------------------------------------------------------------- diff --git a/server/bin/deltacloudd b/server/bin/deltacloudd index 18f8b94..2f0eaeb 100755 --- a/server/bin/deltacloudd +++ b/server/bin/deltacloudd @@ -206,8 +206,8 @@ unless have_thin # There's a bug with string ports on JRuby so convert to int # http://jira.codehaus.org/browse/JRUBY-4868 port = ENV["API_PORT"].to_i - puts "=> Ctrl-C to shutdown server" + Dir::chdir($top_srcdir) Rack::Server::start(:app => app, :Host => ENV["API_HOST"], :Port => port,