Skip to contentSkip to conversation

TestSupport: fix warning about cacheing_git when !no-reinstall

PATCH New Ian Campbell 1 participant 1 message Oct 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 TestSupport: fix warning about cacheing_git when !no-reinstall

---
 Osstest/TestSupport.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Osstest/TestSupport.pm +1 -1
index 8e46aa0..e5343c8 100644
@@ -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
Signature · 1 line
1.7.10.4