Avoid perl msg in depanneur
authorLi Jinjing <jinjingx.li@intel.com>
Tue, 9 Dec 2014 12:40:31 +0000 (20:40 +0800)
committerLi Jinjing <jinjingx.li@intel.com>
Tue, 9 Dec 2014 12:50:26 +0000 (20:50 +0800)
During gbs build ,depanneur always says:
Argument "" isn't numeric in numeric eq (==) at /usr/bin/depanneur line 642

Change-Id: I7876d28f2e39c50875cfde5332b9bc0ee6a72c40
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
depanneur

index 8764c7ba488397ce294126edf8e5b9de6040c2c0..244998a6686def8a4442675b07c193ef32c7fc87 100755 (executable)
--- a/depanneur
+++ b/depanneur
@@ -86,7 +86,7 @@ my $includeall = 0;             # build all content of including uncommitted and
                                 # untracked files
 my $upstream_branch = "";       # upstream branch name
 my $upstream_tag = "";          # upstream tag name used for generate tar ball
-my $fallback_to_native = "";    # fallback to native packaging mode if export fails
+my $fallback_to_native = 0;     # fallback to native packaging mode if export fails
 my $squash_patches_until = "";  # Commit_ID used for generate one patch
 my $no_patch_export = 0;        # don't generate patches if it's 1
 my $packaging_dir = "packaging";# packaging dir