From patchwork Sat Feb 14 10:52:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 439733 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id AE7131402AA for ; Sat, 14 Feb 2015 21:52:15 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0BDC233D3D; Sat, 14 Feb 2015 10:52:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ptoCSAUVmh9I; Sat, 14 Feb 2015 10:52:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 9214D33937; Sat, 14 Feb 2015 10:52:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 4CEE71C288B for ; Sat, 14 Feb 2015 10:52:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4917595EEE for ; Sat, 14 Feb 2015 10:52:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zJVfHC2DCh6J for ; Sat, 14 Feb 2015 10:52:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by hemlock.osuosl.org (Postfix) with ESMTPS id 88F5295EE8 for ; Sat, 14 Feb 2015 10:52:11 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id l18so18079246wgh.7 for ; Sat, 14 Feb 2015 02:52:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=sx+xcpBfxJZWKDXsmXYtPNMEVcQNqWysBYyOXYw7B5w=; b=M3OfJGdUdO8cnDH7dTd9EgQbMBQuZHHIh+g8j7RrS9kSMBVQTAF+tFVR7PgQ/l102R Ifq353L7yKgpx8axEt8NNcXl0qxHdtYnAhBQJsKU4NHro6yOJuHsz9FXBAH+kLRfwpXH BKyUg/4JqDUGZ1DDHAbqN/wPNnnZrc2XVpRpU5m8YqTqH6wMuoD4L3/8A3l8XJnozUiM zGqcP341goPtekrYHQDbb599Ku0OO+zsek4OPTDthp1RYPSR5oqqHOw/yre7ohE+DzcO 5ehhOcN5UjOLBzDGNv8GNhpEKbHdbjhs0KOwDu7ng4A6yOncz3nX8sII7MBVNFVQi4jF oWhA== X-Received: by 10.180.107.201 with SMTP id he9mr25496672wib.46.1423911130151; Sat, 14 Feb 2015 02:52:10 -0800 (PST) Received: from gourin.bzh.lan (ns304657.ip-46-105-103.eu. [46.105.103.66]) by mx.google.com with ESMTPSA id v7sm13771832wju.22.2015.02.14.02.52.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 14 Feb 2015 02:52:09 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org, Thomas Petazzoni Date: Sat, 14 Feb 2015 11:52:04 +0100 Message-Id: <2f64e37394ac3c2806646babb32b498a2c598224.1423910953.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 2/4] br-reproduce-build: use current directory as the default for outputs X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This allows the user running something like: cd /somewhere /path/to/br-reproduce-build ID Or even have br-reproduce-build in his PATH. Signed-off-by: "Yann E. MORIN" --- utils/br-reproduce-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/br-reproduce-build b/utils/br-reproduce-build index a84bd5a..c0dc530 100755 --- a/utils/br-reproduce-build +++ b/utils/br-reproduce-build @@ -8,7 +8,7 @@ BASE_GIT="${BASE_GIT:-/home/test/buildroot/}" # Location where the output directories will be created. One # subdirectory, named after the build ID will be created for each # build. -OUTPUT_DIR="${OUTPUT_DIR:-/home/test/outputs/}" +OUTPUT_DIR="${OUTPUT_DIR:-$(pwd)}" if [ $# -ne 1 ] ; then echo "Usage: $0 buildid" ;