[Buildroot] [PATCH 2/4] br-reproduce-build: use current directory as the default for outputs
Yann E. MORIN
yann.morin.1998 at free.fr
Sat Feb 14 10:52:04 UTC 2015
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 at free.fr>
---
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" ;
--
1.9.1
More information about the buildroot
mailing list