]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
TestSupport: fix warning about cacheing_git when !no-reinstall
authorIan Campbell <ian.campbell@citrix.com>
Wed, 9 Oct 2013 12:06:22 +0000 (13:06 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 11 Oct 2013 15:38:50 +0000 (16:38 +0100)
Osstest/TestSupport.pm

index 8e46aa0772afc20addd871d6bd20496e793e4be0..e5343c85cfe51d047db1c88f56a8968ba39a7c8f 100644 (file)
@@ -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