Ian Campbell
2013-Oct-11 15:48 UTC
[PATCH] TestSupport: fix warning about cacheing_git when !no-reinstall
---
Osstest/TestSupport.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index 8e46aa0..e5343c8 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -497,7 +497,7 @@ sub target_editfile_root ($$$;$$) {
sub target_cmd_build ($$$$) {
my ($ho,$timeout,$builddir,$script) = @_;
- my $cacheing_git;
+ my $cacheing_git = "";
$cacheing_git = ":\$HOME/bin" if
$ho->{Flags}{''no-reinstall''};
target_cmd($ho, <<END.$script, $timeout);
set -xe
--
1.7.10.4