1 |
commit: 5d47213d87c7797b5bb66142089d15fa583af8bb |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 8 17:59:07 2014 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 8 17:59:07 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qa-scripts.git;a=commit;h=5d47213d |
7 |
|
8 |
tinderbox: remove blank lines from eselect profile output. |
9 |
|
10 |
There was an issue where using a profile from an overlay causes |
11 |
eselect to print an extra blank line. |
12 |
|
13 |
--- |
14 |
tinderbox/bashrc | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/tinderbox/bashrc b/tinderbox/bashrc |
18 |
index 121f20e..c7cc6f2 100644 |
19 |
--- a/tinderbox/bashrc |
20 |
+++ b/tinderbox/bashrc |
21 |
@@ -69,7 +69,7 @@ BUILD_DATA_DIR="${PACKAGE_DATA_DIR}/${PF}/$(uuidgen)" |
22 |
tinderbox_setup_common() { |
23 |
SANDBOX_ON=0 mkdir -p "${BUILD_DATA_DIR}" > /dev/null |
24 |
write_data arch ${ARCH} |
25 |
- write_data profile $(eselect profile show | tail -1) |
26 |
+ write_data profile $(eselect profile show | grep -v "^[[:space:]]*$" | tail -1) |
27 |
write_data timestamp $(date --utc "+%F %T %Z") |
28 |
} |