aboutsummaryrefslogtreecommitdiff
path: root/utils/br-reproduce-build
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2015-02-14 11:52:04 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-02-14 22:06:50 +0100
commit5ea11ed40a3725cf0c56c1435cd6994337141f18 (patch)
treec9b1aabf62cc97a40809e5484d14047e4b44b139 /utils/br-reproduce-build
parenta578ebd2966350d21b8b6d74f101eb57bdfb285b (diff)
downloadbuildroot-test-5ea11ed40a3725cf0c56c1435cd6994337141f18.tar.gz
buildroot-test-5ea11ed40a3725cf0c56c1435cd6994337141f18.tar.bz2
br-reproduce-build: use current directory as the default for outputs
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" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'utils/br-reproduce-build')
-rwxr-xr-xutils/br-reproduce-build2
1 files changed, 1 insertions, 1 deletions
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" ;