From 9a3e34923c922a141fa0a0f835aa1acf4a02cd07 Mon Sep 17 00:00:00 2001
From: Alessandro Portale <alessandro.portale@digia.com>
Date: Thu, 20 Feb 2014 21:02:01 +0100
Subject: [PATCH] qt5_tool: fix for perl v5.8.8

The perl version which comes with msysgit is v5.8.8. There, the
script fails with

   Undefined subroutine &Cwd::realpath called at
       qtrepotools/bin/qt5_tool line 600.

In this perl version Cwd's realpath apparently needs to be
explicitly exported.

Change-Id: I467c5879e3b67e14652054fc9df1ce9fd547aa14
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
---
 bin/qt5_tool | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/qt5_tool b/bin/qt5_tool
index 6743be0..d1f0893 100755
--- a/bin/qt5_tool
+++ b/bin/qt5_tool
@@ -27,6 +27,7 @@ use File::Copy;
 use POSIX;
 use IO::File;
 use File::Path;
+use Cwd 'realpath';
 
 my $CLEAN=0;
 my $PULL=0;
-- 
GitLab